Changes in src/Common/Stats.h [1bb9a9a:8f74a6a]
- File:
-
- 1 edited
-
src/Common/Stats.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Stats.h
r1bb9a9a r8f74a6a 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Stats.h --7 // Heap.h -- 8 8 // 9 9 // Author : Thierry Delisle … … 16 16 #pragma once 17 17 18 // Entry point for compiler analytics.19 /*20 The compiler currently supports 3 times of analytics:21 - generic counters22 - heap statistics23 - timiing statistics24 25 These can be enabled using the --stats option, to which a comma seperated list of options can be passed.26 For more details see Stats.cc27 28 Counters:29 The counters are a generic tree of counters that print in a 2-column output format.30 They can count maximums, averages, totals, etc.31 32 Currently all counters are under the same enable block, this could be changed if needed.33 34 Heap:35 Measures the total calls malloc and free as the peak number of allocations per pass36 37 Timing:38 Comming soon39 */40 41 42 18 #include "Common/Stats/Counter.h" 43 19 #include "Common/Stats/Heap.h" 44 #include "Common/Stats/Time.h"45 46 namespace Stats {47 void parse_params(const char * const params);48 void print();49 }
Note:
See TracChangeset
for help on using the changeset viewer.