OfxTimestamp is a project mainly written in C++, it's free.
Lightweight OpenFrameworks addon that automatically saves a timestamp in a text file on a constant interval. Used by "watchdogs" to monitor if a certain application is running/frozen.