// Simple timer for benchmarks
#include
#include
class Stopwatch {
public:
//start counting time
Stopwatch() : start(clock()), delay(false), message(false) {}
Stopwatch(bool truefalse) : start(clock()), delay(truefalse), message(false) {}
~Stopwatch();
string set_title(string s);
string set_title(char * s);
string get_title();
private:
clock_t start;
bool delay;
bool message;
string title;
};