void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
Measures spans of CPU time.
void print(FILE *out) const
Prints the elapsed time in a human readable format.
void reset()
Resets the amount of elapsed CPU time to zero.
unsigned long getMilliseconds() const
Returns the number of CPU milliseconds since the last reset.
std::clock_t _clocksAtReset