diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-08-23 15:09:39 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-08-23 15:09:39 -0400 |
commit | 15bbd1e788af29d06b3fb64cefd0e2e3cdd64a8b (patch) | |
tree | 05f4fbe16f28831413082b13775650576789d261 /rt-graph.h | |
parent | bd93158a49cd64b84d0e64735d2362dbceaecf87 (diff) |
Add -c option to ignore records before system release.
Diffstat (limited to 'rt-graph.h')
-rw-r--r-- | rt-graph.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -21,6 +21,9 @@ struct ts_list; | |||
21 | struct vcpu_list; | 21 | struct vcpu_list; |
22 | 22 | ||
23 | struct rt_graph_info { | 23 | struct rt_graph_info { |
24 | /* For ignoring records before system release */ | ||
25 | gboolean clean_records; | ||
26 | long long start_time; | ||
24 | 27 | ||
25 | /* List of all real-time tasks */ | 28 | /* List of all real-time tasks */ |
26 | struct task_list *tasks[TASK_HASH_SIZE]; | 29 | struct task_list *tasks[TASK_HASH_SIZE]; |
@@ -62,6 +65,9 @@ struct rt_graph_info { | |||
62 | struct format_field *resume_pid_field; | 65 | struct format_field *resume_pid_field; |
63 | struct format_field *resume_lid_field; | 66 | struct format_field *resume_lid_field; |
64 | 67 | ||
68 | gint sys_release_id; | ||
69 | struct format_field *sys_release_rel_field; | ||
70 | |||
65 | gint container_param_id; | 71 | gint container_param_id; |
66 | struct format_field *cparam_cid_field; | 72 | struct format_field *cparam_cid_field; |
67 | struct format_field *cparam_name_field; | 73 | struct format_field *cparam_name_field; |
@@ -102,7 +108,6 @@ struct rt_graph_info { | |||
102 | struct format_field *sresume_sid_field; | 108 | struct format_field *sresume_sid_field; |
103 | struct format_field *sresume_lid_field; | 109 | struct format_field *sresume_lid_field; |
104 | 110 | ||
105 | |||
106 | /* Cache of ts fields for non-litmus events */ | 111 | /* Cache of ts fields for non-litmus events */ |
107 | struct ts_list *events[TS_HASH_SIZE]; | 112 | struct ts_list *events[TS_HASH_SIZE]; |
108 | 113 | ||
@@ -202,6 +207,8 @@ int rt_graph_check_server_block(struct graph_info *ginfo, | |||
202 | unsigned long long *when); | 207 | unsigned long long *when); |
203 | int rt_graph_check_server_resume(struct graph_info *ginfo, struct record *record, | 208 | int rt_graph_check_server_resume(struct graph_info *ginfo, struct record *record, |
204 | gint *pid, gint *lid, unsigned long long *when); | 209 | gint *pid, gint *lid, unsigned long long *when); |
210 | int rt_graph_check_sys_release(struct graph_info *ginfo, struct record *record, | ||
211 | unsigned long long *when); | ||
205 | void init_rt_event_cache(struct rt_graph_info *rtinfo); | 212 | void init_rt_event_cache(struct rt_graph_info *rtinfo); |
206 | 213 | ||
207 | unsigned long long get_rts(struct graph_info *ginfo, | 214 | unsigned long long get_rts(struct graph_info *ginfo, |