From 61266395ff4f371933c104cff6671aae7f43c3fd Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 5 Mar 2012 18:00:39 -0500 Subject: rt-graph: real-time tasks can be added / removed from the graph Currently they copy the functionality of regular task. --- trace-plot-cpu.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'trace-plot-cpu.c') diff --git a/trace-plot-cpu.c b/trace-plot-cpu.c index 5dea225..c7a37f5 100644 --- a/trace-plot-cpu.c +++ b/trace-plot-cpu.c @@ -30,22 +30,6 @@ struct cpu_plot_info { struct record *last_record; }; -static gint hash_pid(gint val) -{ - /* idle always gets black */ - if (!val) - return 0; - - return trace_hash(val); -} - -static void convert_nano(unsigned long long time, unsigned long *sec, - unsigned long *usec) -{ - *sec = time / 1000000000ULL; - *usec = (time / 1000) % 1000000; -} - static struct record *get_record_from_time(struct graph_info *ginfo, int cpu, unsigned long long time) { -- cgit v1.2.2