Scopira
20080306
|
#include <timeslice.h>
Public Member Functions | |
simple_timeslice (void) | |
constructor, starts the time | |
~simple_timeslice () | |
destructor, stops the emits the time elapsed since construction | |
This is a simply RAII that emits how long it was alive for during destruction.