mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Small improvement to plot info debugging code
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d7482356fd
commit
4e4e3cc43a
1 changed files with 2 additions and 1 deletions
|
@ -168,9 +168,10 @@ static void dump_pi (struct plot_info *pi)
|
||||||
pi->maxpressure, pi->mintemp, pi->maxtemp);
|
pi->maxpressure, pi->mintemp, pi->maxtemp);
|
||||||
for (i = 0; i < pi->nr; i++)
|
for (i = 0; i < pi->nr; i++)
|
||||||
printf(" entry[%d]:{same_cylinder:%d cylinderindex:%d sec:%d pressure:{%d,%d}\n"
|
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,
|
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].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);
|
pi->entry[i].temperature, pi->entry[i].depth, pi->entry[i].smoothed);
|
||||||
printf(" }\n");
|
printf(" }\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue