38#error "<sys/time.h> must be included first"
41#ifndef _MACHINE__TIMECOUNTER_H_
42#define _MACHINE__TIMECOUNTER_H_
45extern volatile time_t _Timecounter_Time_second;
46extern volatile int32_t _Timecounter_Time_uptime;
47extern struct bintime _Timecounter_Boottimebin;
49void _Timecounter_Binuptime(
struct bintime *);
50void _Timecounter_Nanouptime(
struct timespec *);
51void _Timecounter_Microuptime(
struct timeval *);
52void _Timecounter_Bintime(
struct bintime *);
53void _Timecounter_Nanotime(
struct timespec *);
54void _Timecounter_Microtime(
struct timeval *);
55void _Timecounter_Getbinuptime(
struct bintime *);
56void _Timecounter_Getnanouptime(
struct timespec *);
57void _Timecounter_Getmicrouptime(
struct timeval *);
58void _Timecounter_Getbintime(
struct bintime *);
59void _Timecounter_Getnanotime(
struct timespec *);
60void _Timecounter_Getmicrotime(
struct timeval *);