source: abuse/tags/pd/macabuse/imlib/include/timing.hpp @ 57

Last change on this file since 57 was 49, checked in by Sam Hocevar, 15 years ago
  • Imported original public domain release, for future reference.
File size: 386 bytes
Line 
1#ifndef __TIMING_HPP_
2#define __TIMING_HPP_
3
4class time_marker
5{
6public :
7  long seconds;
8  long micro_seconds; 
9  void get_time();
10  time_marker(); 
11  double diff_time(time_marker *other);    // returns time diff in seconds                   
12} ;
13
14void milli_wait(unsigned wait_time);  // sleeps for a milli second 1000 millies=1 sec
15void timer_init();
16void timer_uninit();
17
18#endif
19
Note: See TracBrowser for help on using the repository browser.