diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-12-12 10:13:03 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-12-12 10:13:03 -0800 |
commit | 4e4e3cc43a8510c73883e88cbfb03aedda9eaaf1 (patch) | |
tree | 0bc049b17c77249008f8f53e7a5816f240931c71 /profile.c | |
parent | d7482356fd8feeb2ab2d3fc8106d0a6c2a5ee0cf (diff) | |
download | subsurface-4e4e3cc43a8510c73883e88cbfb03aedda9eaaf1.tar.gz |
Small improvement to plot info debugging code
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); } |