I wanna a timer that works in pure C program (e.g. static library). It need not be accuracy, so simple is the best. My platform is Windows + MinGW. I've tried stantard Win32 timer, but it does not satisfy me because my program does not have a window. And I also have searched on web for a long time, but only lots of C++ timer classes found. So I have to ask this here. Any guides or useful infomation will be appreciated. Thanks in advance.