aboutsummaryrefslogtreecommitdiffstats
path: root/trace-graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'trace-graph.c')
-rw-r--r--trace-graph.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/trace-graph.c b/trace-graph.c
index 819482e..2cf7a95 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -70,13 +70,6 @@ static GdkGC *red;
70static void redraw_pixmap_backend(struct graph_info *ginfo); 70static void redraw_pixmap_backend(struct graph_info *ginfo);
71static void update_label_window(struct graph_info *ginfo); 71static void update_label_window(struct graph_info *ginfo);
72 72
73static void convert_nano(unsigned long long time, unsigned long *sec,
74 unsigned long *usec)
75{
76 *sec = time / 1000000000ULL;
77 *usec = (time / 1000) % 1000000;
78}
79
80static int convert_time_to_x(struct graph_info *ginfo, guint64 time) 73static int convert_time_to_x(struct graph_info *ginfo, guint64 time)
81{ 74{
82 if (time < ginfo->view_start_time) 75 if (time < ginfo->view_start_time)