1 //  Variables and constants for use in measuring performance of the various parts of the BCPL compiler.
 2 //  Last modified on 04/02/74 at 16:02:05 by R F Mabee.
 3 //  First installed with Version 3.4 by R F Mabee.
 4 //  Written in April 1973 to obtain detailed info about compiler performance.
 5 
 6 external
 7      $(   SaveOldUsage = "bcpl_utility$SaveOldUsage"
 8           RecordUsage = "bcpl_utility$RecordUsage"
 9           PrintMeters = "bcpl_meter_print$PrintMeters"
10      $)
11 
12 global
13      $(   Metering            : 150
14           MeterData           : 151
15           DictionaryDepth     : 152
16           TotalLines          : 153
17           TotalWords          : 154
18      $)
19 
20 manifest
21      $(   DriverOverhead_Meter = 0
22           SyntaxAnalysis_Meter = 3
23           Nextsymb_Meter      = 6
24           ProcessGet_Meter    = 9
25           SymbolAdd_Meter     = 12
26           SymbolSearch_Meter  = 15
27           RchWithoutListing_Meter = 18
28           RchWithListing_Meter          = 21
29           PrintXref_Meter     = 24
30           MakeObject_Meter    = 27
31           CompileSwitchWithoutOptimizing_Meter = 30
32           CompileSwitchWithOptimizing_Meter = 33
33           SemanticTranslation_Meter = 36
34           CodeGeneration_Meter          = 39
35           CompileExpression_Meter = 42
36           MeteringOverhead_Meter = 45
37           TotalLines_Count    = 48
38           TextWords_Count     = 49
39           DictionaryDepth_Count = 50
40           Meters_Length       = 51
41      $)