#ifndef COUNTER_H #define COUNTER_H #include class Counter { public: Counter(); void start(); long getTime(); struct timeval startTime, endTime; }; #endif // COUNTER_H