Struct grindee
Defined in File grind.h
Nested Relationships
Nested Types
Struct Documentation
-
struct grindee
A semantic unit for collecting timing/execution count information.
Can be a function, a section of code, etc. VERY flexible. Identified/differentiated from other grindees by name.
Public Members
-
char name[32]
Name of grindee
-
size_t count
How many times the section has been entered since last datapoint
-
size_t tindex
Location of next datapoint to insert/count of datapoints gathered thus far.
-
size_t *table
Sample table for grindee; all data stored here.
-
size_t tsize
Size of sample table
-
union grindee::grind_mode_impl domain
-
union grind_mode_impl
Low-level implementation details for grinder.
There are currently two domains: duration and tick. See grind_mode for details.
Public Members
-
size_t accum
Temporary variable for holding accumulated execution time.
-
struct timespec start
Duration start time.
-
struct timespec end
Duration end time.
-
bool_t active
The last call to grind_capture_start() has not yet been followed by a call to grind_capture_end() (i.e., grinding is in progress).
-
struct grindee::grind_mode_impl::[anonymous] duration
-
struct timespec current
Recorded time of current tick
-
struct grindee::grind_mode_impl::[anonymous] tick
-
size_t accum
-
char name[32]