Logo Search packages:      
Sourcecode: hammerhead version File versions  Download package

hrtime.h

#ifndef _HRTIME_H_
#define _HRTIME_H_ 

// Portability function used in place of function call gethrtime and type
// hrtime_t for FreeBSD from SunOS.  These functions are available on SunOS.
// The replacement uses gettimeofday and timeval which suffer inaccuracies
// and other problems (see man).  


#ifndef SunOS
typedef long long hrtime_t;   

hrtime_t gethrtime(void);
#endif

#endif

Generated by  Doxygen 1.6.0   Back to index