Public Methods | |
void | Click () |
Record an event for this clock (generally, the 'time' an object has been modified, or some computation has been made). | |
void | Reset () |
Reset a Clock to 0, to force an update. | |
void | Print () const |
Print clock value. Only for debugging purposes. | |
void | PrintStatic () const |
Print current general clock value. Only for debugging purposes. |
Since the clock() function is not precise enough (and is architecture-dependant), we use a custom time, which records the number of events in the program which uses the library. This is purely internal, so don't worry about it...
The clock values have nothing to do with 'time' as any normal person undertands it.