28#error "<sys/time.h> must be included first"
31#ifndef _MACHINE__TIMECOUNTER_H_
32#define _MACHINE__TIMECOUNTER_H_
35extern volatile time_t _Timecounter_Time_second;
36extern volatile int32_t _Timecounter_Time_uptime;
37extern struct bintime _Timecounter_Boottimebin;
39void _Timecounter_Binuptime(
struct bintime *);
40void _Timecounter_Nanouptime(
struct timespec *);
41void _Timecounter_Microuptime(
struct timeval *);
42void _Timecounter_Bintime(
struct bintime *);
43void _Timecounter_Nanotime(
struct timespec *);
44void _Timecounter_Microtime(
struct timeval *);
45void _Timecounter_Getbinuptime(
struct bintime *);
46void _Timecounter_Getnanouptime(
struct timespec *);
47void _Timecounter_Getmicrouptime(
struct timeval *);
48void _Timecounter_Getbintime(
struct bintime *);
49void _Timecounter_Getnanotime(
struct timespec *);
50void _Timecounter_Getmicrotime(
struct timeval *);