i want to write a simple cross-platform c++ timer
class able to at least get millisecond-precise
time spans. i can do the win32 part but i don't
know much about the unix side.
so what i need is somebody doing the unix part.
i googled and found this
http://bama.ua.edu/cgi-bin/man-cgi?gethrtime+3C
won't be much work i guess.
the only details about the public interface i have in mind for now is this
Code:
class CCrossTimer
{
public:
double get_passed_time( bool bUpdateLast );
bool has_passed( double fMS, bool bUpdateLast, double * fTimePassed = NULL );
...
};
anybody wanna work with me?
would be great!