From 4e4e3cc43a8510c73883e88cbfb03aedda9eaaf1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 12 Dec 2011 10:13:03 -0800 Subject: Small improvement to plot info debugging code Signed-off-by: Dirk Hohndel --- profile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'profile.c') diff --git a/profile.c b/profile.c index 5d5aff518..822e30c0e 100644 --- a/profile.c +++ b/profile.c @@ -168,9 +168,10 @@ static void dump_pi (struct plot_info *pi) pi->maxpressure, pi->mintemp, pi->maxtemp); for (i = 0; i < pi->nr; i++) printf(" entry[%d]:{same_cylinder:%d cylinderindex:%d sec:%d pressure:{%d,%d}\n" - " temperature:%d depth:%d smoothed:%d}\n", + " time:%d:%02d temperature:%d depth:%d smoothed:%d}\n", i, pi->entry[i].same_cylinder, pi->entry[i].cylinderindex, pi->entry[i].sec, pi->entry[i].pressure[0], pi->entry[i].pressure[1], + pi->entry[i].sec / 60, pi->entry[i].sec % 60, pi->entry[i].temperature, pi->entry[i].depth, pi->entry[i].smoothed); printf(" }\n"); } -- cgit v1.2.3-70-g09d2