forked from LITMUS-RT/rt-kernelshark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrt-plot-cpu.h
More file actions
28 lines (24 loc) · 720 Bytes
/
rt-plot-cpu.h
File metadata and controls
28 lines (24 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* Plot real-time events for a single CPU.
*/
#ifndef __RT_PLOT_CPU_H
#define __RT_PLOT_CPU_H
struct rt_cpu_info {
int cpu;
int run_pid;
unsigned long long rt_run_time;
unsigned long long reg_run_time;
gboolean fresh;
char *label;
};
const struct plot_callbacks rt_cpu_cb;
void rt_plot_labeled_cpu(struct graph_info *ginfo, int cpu, char *label);
void rt_plot_cpu(struct graph_info *ginfo, int cpu);
void rt_plot_cpus_plotted(struct graph_info *ginfo,
gboolean *all_cpus, guint64 **cpu_mask);
void rt_plot_cpus_update_callback(gboolean accept,
gboolean all_cpus,
guint64 *selected_cpu_mask,
gpointer data);
void rt_plot_init_cpus(struct graph_info *ginfo, int cpus);
#endif