TimeTracker implemented in C++