diff options
Diffstat (limited to 'rt-plot-vcpu.h')
-rw-r--r-- | rt-plot-vcpu.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/rt-plot-vcpu.h b/rt-plot-vcpu.h index 9c50a63..f88e6ab 100644 --- a/rt-plot-vcpu.h +++ b/rt-plot-vcpu.h | |||
@@ -11,6 +11,8 @@ struct vcpu_info { | |||
11 | int run_cpu; | 11 | int run_cpu; |
12 | unsigned long long run_time; | 12 | unsigned long long run_time; |
13 | 13 | ||
14 | int last_job; | ||
15 | |||
14 | int block_cpu; | 16 | int block_cpu; |
15 | unsigned long long block_time; | 17 | unsigned long long block_time; |
16 | 18 | ||
@@ -24,3 +26,31 @@ struct vcpu_info { | |||
24 | 26 | ||
25 | void insert_vcpu(struct graph_info *ginfo, struct cont_list *cont, | 27 | void insert_vcpu(struct graph_info *ginfo, struct cont_list *cont, |
26 | struct vcpu_list *vcpu_info); | 28 | struct vcpu_list *vcpu_info); |
29 | |||
30 | |||
31 | /* drawing methods */ | ||
32 | int vcpu_try_release(struct graph_info *ginfo, struct vcpu_info *vcpu_info, | ||
33 | struct record *record, struct plot_info *info); | ||
34 | int vcpu_try_completion(struct graph_info *ginfo, | ||
35 | struct vcpu_info *vcpu_info, | ||
36 | struct record *record, struct plot_info *info); | ||
37 | int vcpu_try_block(struct graph_info *ginfo, struct vcpu_info *vcpu_info, | ||
38 | struct record *record, struct plot_info *info); | ||
39 | int vcpu_try_resume(struct graph_info *ginfo, struct vcpu_info *vcpu_info, | ||
40 | struct record *record, struct plot_info *info); | ||
41 | |||
42 | /* trace-plot methods */ | ||
43 | void rt_vcpu_plot_start(struct graph_info *ginfo, struct graph_plot *plot, | ||
44 | unsigned long long time); | ||
45 | void rt_vcpu_plot_destroy(struct graph_info *ginfo, struct graph_plot *plot); | ||
46 | |||
47 | /* rt-plot-common methods */ | ||
48 | int rt_vcpu_plot_record_matches(struct rt_plot_common *rt, | ||
49 | struct graph_info *ginfo, | ||
50 | struct record *record); | ||
51 | int rt_vcpu_plot_is_drawn(struct graph_info *ginfo, int eid); | ||
52 | struct record* | ||
53 | rt_vcpu_plot_write_header(struct rt_plot_common *rt, | ||
54 | struct graph_info *ginfo, | ||
55 | struct trace_seq *s, | ||
56 | unsigned long long time); | ||