comparison src/Docu/Performance-Measurement.txt @ 628:cd58f7fc86db

3.05 stable work
author heinrichsweikamp
date Thu, 19 Sep 2019 12:01:29 +0200
parents
children 690c48db7b5b
comparison
equal deleted inserted replaced
627:bf5fee575701 628:cd58f7fc86db
1
2 Performance Measurement
3 -----------------------
4
5 When compiled in, the dive mode screen shows 5 performance data values:
6
7 AAAA.BBB.CC.DD.EE
8
9 AAAA: Relative runtime of the last deco engine invocation, in ms,
10 signed value: positive numbers: longer than target
11 negative numbers: unused time budget
12
13 BBB: longest runtime found, in ms
14
15 CC: Calculation phase in which the longest runtime occurred, see table below
16
17 DD: Number of deco engine invocations required to complete the last normal plan
18
19 EE: as above, but for alternative plan
20
21
22 Calculation Phases
23 ------------------------------------------------------------------------------------------------------
24
25 PHASE_00_DONE 00 calculation cycle finished
26 PHASE_10_DIVE_INIT 10 once-per-dive initialization of the deco engine
27 PHASE_11_CYCLIC_INIT 11 once-every-cycle initialization of the deco engine
28 PHASE_20_EXTENDED_BOTTOM_TIME 20 calculate extended bottom time
29 PHASE_30_NDL_TIME 30 calculate NDL time
30 PHASE_40_CAVE_ASCENT 40 calculate cave mode return/ascent
31 PHASE_50_INITIAL_ASCENT 50 calculate initial ascent
32 PHASE_60_DECO_STOPS 60 calculate deco stops
33 PHASE_70_RESULTS 70 results - initialization
34 PHASE_71_RESULTS_STOPS_TABLE 71 results - publish stops table
35 PHASE_72_RESULTS_NDL 72 results - publish data / within NDL
36 PHASE_73_RESULTS_DECO 73 results - publish data / in deco
37 PHASE_80_GAS_NEEDS_SWITCHES 80 calculate gas needs - find gas switches in NDL bailout mode
38 PHASE_81_GAS_NEEDS_ASCENT 81 calculate gas needs - needs of bottom segment and ascent
39 PHASE_82_GAS_NEEDS_PRESSURES 82 calculate gas needs - conversion from volumes to pressures
40 PHASE_90_FINISH 90 finish calculation cycle