diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-15 17:18:01 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-15 17:18:01 -0400 |
commit | 34c00c482f8d63af02784de9d376237611b42bfe (patch) | |
tree | 4ecf10ace6253f848ee2a73a76bb9e79171164e3 /rt-plot-container.c | |
parent | 84c21bf0c89821bd35b035cd9f7f08acc13ea2dc (diff) |
Diffstat (limited to 'rt-plot-container.c')
-rw-r--r-- | rt-plot-container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt-plot-container.c b/rt-plot-container.c index b21f9de..623c616 100644 --- a/rt-plot-container.c +++ b/rt-plot-container.c | |||
@@ -71,7 +71,7 @@ static inline void try_job_update(struct server_iter_args *args, int candidate) | |||
71 | 71 | ||
72 | static int server_iterator(struct graph_info *ginfo, struct record *record, void *data) | 72 | static int server_iterator(struct graph_info *ginfo, struct record *record, void *data) |
73 | { | 73 | { |
74 | int sid, job, tid, tjob, match, ret; | 74 | int sid, job, tid, tjob, match, ret, cpu; |
75 | struct server_iter_args *args = data; | 75 | struct server_iter_args *args = data; |
76 | unsigned long long when, time = get_rts(ginfo, record); | 76 | unsigned long long when, time = get_rts(ginfo, record); |
77 | 77 | ||
@@ -80,7 +80,7 @@ static int server_iterator(struct graph_info *ginfo, struct record *record, void | |||
80 | if (time < args->goal) | 80 | if (time < args->goal) |
81 | return 1; | 81 | return 1; |
82 | 82 | ||
83 | #define ARGS ginfo, record, &sid, &job, &tid, &tjob, &when | 83 | #define ARGS ginfo, record, &sid, &job, &tid, &tjob, &cpu, &when |
84 | match = rt_graph_check_server_switch_away(ARGS); | 84 | match = rt_graph_check_server_switch_away(ARGS); |
85 | if (match && sid == args->match_sid) { | 85 | if (match && sid == args->match_sid) { |
86 | /* We were running something */ | 86 | /* We were running something */ |