mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 21:27:19 +02:00
Timer: Dead code removal
This commit is contained in:
parent
87b1809ef4
commit
59b98cf302
2 changed files with 0 additions and 56 deletions
19
src/Timer.h
19
src/Timer.h
|
@ -52,25 +52,6 @@ private:
|
|||
unsigned long _total;
|
||||
};
|
||||
|
||||
// HighResTimer is a stop watch with microsecond resolution.
|
||||
class HighResTimer
|
||||
{
|
||||
public:
|
||||
HighResTimer ();
|
||||
~HighResTimer ();
|
||||
HighResTimer (const HighResTimer&);
|
||||
HighResTimer& operator= (const HighResTimer&);
|
||||
|
||||
void start ();
|
||||
void stop ();
|
||||
double total () const;
|
||||
|
||||
private:
|
||||
struct timeval _start;
|
||||
struct timeval _stop;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue