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