summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Lelli <juri.lelli@arm.com>2015-05-28 09:41:02 +0100
committerJuri Lelli <juri.lelli@arm.com>2016-11-25 08:21:17 +0000
commit3e9a9861ff8e6c5dabe42af3678b608ade1c7334 (patch)
tree35d34d45f0cbb74d6a3b2de69f99893b88d39d23
parent5c5f41408486ff2ee8bf1902e36cdb51d7f9e425 (diff)
rt-app: move wu_lat to the end of the log
Move wu_lat to the end of the log, so that can be easily removed in the future if not needed anymore. Signed-off-by: Juri Lelli <juri.lelli@arm.com> Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
-rw-r--r--src/rt-app.c6
-rw-r--r--src/rt-app_utils.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/rt-app.c b/src/rt-app.c
index c59636d..be2c308 100644
--- a/src/rt-app.c
+++ b/src/rt-app.c
@@ -587,10 +587,10 @@ void *thread_body(void *arg)
log_notice("[%d] starting thread ...\n", data->ind);
- fprintf(data->log_handler, "%s %8s %8s %8s %15s %15s %15s %10s %10s %8s\n",
+ fprintf(data->log_handler, "%s %8s %8s %8s %15s %15s %15s %10s %8s %10s\n",
"#idx", "perf", "run", "period",
- "start", "end", "rel_st", "wu_lat", "slack",
- "c_prd");
+ "start", "end", "rel_st", "slack",
+ "c_prd", "wu_lat");
if (opts.ftrace)
log_ftrace(ft_data.marker_fd, "[%d] starts", data->ind);
diff --git a/src/rt-app_utils.c b/src/rt-app_utils.c
index e7cd8a8..747ac2b 100644
--- a/src/rt-app_utils.c
+++ b/src/rt-app_utils.c
@@ -140,7 +140,7 @@ void
log_timing(FILE *handler, timing_point_t *t)
{
fprintf(handler,
- "%4d %8lu %8lu %8lu %15llu %15llu %15llu %10lu %10ld %8lu",
+ "%4d %8lu %8lu %8lu %15llu %15llu %15llu %10ld %8lu %10lu",
t->ind,
t->perf,
t->duration,
@@ -148,9 +148,9 @@ log_timing(FILE *handler, timing_point_t *t)
t->start_time,
t->end_time,
t->rel_start_time,
- t->wu_latency,
t->slack,
- t->c_period
+ t->c_period,
+ t->wu_latency
);
fprintf(handler, "\n");
}