Instrumentation
The instrumentation class allows timers to be added to existing code.
Implemented as a hash table of timers:
- global objects referred to by a string
- accessed via class methods
- no need to add or pass references
As well as a time, each timer also contains an operation count, for computing temporal performance.
Timers can be started, stopped, read, printed, etc.