diff options
Diffstat (limited to 'trace-graph.c')
-rw-r--r-- | trace-graph.c | 7 |
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; | |||
70 | static void redraw_pixmap_backend(struct graph_info *ginfo); | 70 | static void redraw_pixmap_backend(struct graph_info *ginfo); |
71 | static void update_label_window(struct graph_info *ginfo); | 71 | static void update_label_window(struct graph_info *ginfo); |
72 | 72 | ||
73 | static 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 | |||
80 | static int convert_time_to_x(struct graph_info *ginfo, guint64 time) | 73 | static 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) |