diff options
Diffstat (limited to 'rt-plot-cpu.h')
-rw-r--r-- | rt-plot-cpu.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rt-plot-cpu.h b/rt-plot-cpu.h new file mode 100644 index 0000000..320bf53 --- /dev/null +++ b/rt-plot-cpu.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef __RT_PLOT_CPU_H | ||
2 | #define __RT_PLOT_CPU_H | ||
3 | |||
4 | struct rt_cpu_info { | ||
5 | int cpu; | ||
6 | unsigned long long run_time; | ||
7 | int run_pid; | ||
8 | gboolean fresh; | ||
9 | char *label; | ||
10 | }; | ||
11 | |||
12 | void rt_plot_cpu(struct graph_info *ginfo, int cpu); | ||
13 | void rt_plot_cpus_plotted(struct graph_info *ginfo, | ||
14 | gboolean *all_cpus, guint64 **cpu_mask); | ||
15 | void rt_plot_cpus_update_callback(gboolean accept, | ||
16 | gboolean all_cpus, | ||
17 | guint64 *selected_cpu_mask, | ||
18 | gpointer data); | ||
19 | |||
20 | #endif | ||