mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: make plotdata::depth depth_t
A small drop in the bucket: more conversion to our unit types. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
20bb11cd03
commit
c9cb83d6b0
9 changed files with 97 additions and 104 deletions
|
|
@ -41,7 +41,7 @@ struct plot_data {
|
|||
int sec = 0;
|
||||
int temperature = 0;
|
||||
/* Depth info */
|
||||
int depth = 0;
|
||||
depth_t depth;
|
||||
int ceiling = 0;
|
||||
std::array<int, 16> ceilings;
|
||||
std::array<int, 16> percentages;
|
||||
|
|
@ -49,9 +49,9 @@ struct plot_data {
|
|||
int tts = 0;
|
||||
int rbt = 0;
|
||||
int stoptime = 0;
|
||||
int stopdepth = 0;
|
||||
depth_t stopdepth;
|
||||
int cns = 0;
|
||||
int smoothed = 0;
|
||||
depth_t smoothed;
|
||||
int sac = 0;
|
||||
int running_sum = 0;
|
||||
struct gas_pressures pressures;
|
||||
|
|
@ -68,7 +68,7 @@ struct plot_data {
|
|||
int ndl_calc = 0;
|
||||
int tts_calc = 0;
|
||||
int stoptime_calc = 0;
|
||||
int stopdepth_calc = 0;
|
||||
depth_t stopdepth_calc;
|
||||
int pressure_time = 0;
|
||||
int heartbeat = 0;
|
||||
int bearing = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue