annotate src/Docu/Performance-Measurement.txt @ 636:2737ddc643bb

3.11 release
author heinrichsweikamp
date Mon, 25 May 2020 17:35:30 +0200
parents 690c48db7b5b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
1 Performance Measurement
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
2 -----------------------
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
3
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
4 When compiled in, the dive mode screen shows 5 performance data values:
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
5
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
6 AAAA.BBB.CC.DD.EE
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
7
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
8 AAAA: Relative runtime of the last deco engine invocation, in ms,
633
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
9 signed value: positive numbers: overrun on target runtime
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
10 negative numbers: unused time budget
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
11
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
12 BBB: longest runtime found, in ms
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
13
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
14 CC: Calculation phase in which the longest runtime occurred, see table below
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
15
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
16 DD: Number of deco engine invocations required to complete the last normal plan
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
17
633
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
18 EE: as above, but for alternative plan (cave return or CCR bailout or OC fTTS plan)
628
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
19
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
20
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
21 Calculation Phases
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
22 ------------------------------------------------------------------------------------------------------
cd58f7fc86db 3.05 stable work
heinrichsweikamp
parents:
diff changeset
23
633
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
24 PHASE_00_DONE 0x00 // calculation cycle finished
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
25 PHASE_10_DIVE_INIT 0x10 // once-per-dive initialization of the deco engine
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
26 PHASE_20_CYCLIC_INIT 0x20 // once-every-cycle initialization of the deco engine
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
27 PHASE_30_EXTENDED_BOTTOM_TIME 0x30 // calculate extended bottom time
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
28 PHASE_40_BOTTOM_GAS_NEED 0x40 // calculate gas needs for bottom segment
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
29 PHASE_50_NDL_TIME 0x50 // calculate NDL time
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
30 PHASE_70_ASCENT 0x70 // calculate ascent
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
31 PHASE_80_RESULTS 0x80 // results - initialization
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
32 PHASE_81_RESULTS_STOPS_TABLE 0x81 // results - publish stops table
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
33 PHASE_82_RESULTS_NDL 0x82 // results - publish data / within NDL
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
34 PHASE_83_RESULTS_DECO 0x83 // results - publish data / in deco
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
35 PHASE_84_GAS_NEEDS_PRESSURES 0x84 // results - convert gas needs from volumes to pressures
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
36 PHASE_85_GAS_NEEDS_CAVE 0x85 // results - tag gas needs as calculated in cave or open water mode
690c48db7b5b 3.09 beta 2 release
heinrichsweikamp
parents: 628
diff changeset
37 PHASE_90_FINISH 0x90 // finish calculation cycle