1 #ifndef CLIB_TIMER_PROTOS_H
    2 #define CLIB_TIMER_PROTOS_H
    3 
    4 /*
    5 	timer.device C prototypes (V52)
    6 
    7 	Copyright © 2002-2018 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef DEVICES_TIMER_H
   11 # include <devices/timer.h>
   12 #endif
   13 
   14 
   15 #ifdef __cplusplus
   16 extern "C" {
   17 #endif /* __cplusplus */
   18 
   19 VOID AddTime( struct TimeVal *dest, CONST struct TimeVal *src );
   20 VOID SubTime( struct TimeVal *dest, CONST struct TimeVal *src );
   21 LONG CmpTime( CONST struct TimeVal *dest, CONST struct TimeVal *src );
   22 ULONG ReadEClock( struct EClockVal *dest );
   23 VOID GetSysTime( struct TimeVal *dest );
   24 
   25 /*** V50 ***/
   26 ULONG ReadCPUClock( UQUAD *dest );
   27 /*** V51 ***/
   28 VOID GetUpTime( struct TimeVal *dest );
   29 /*** V52 ***/
   30 VOID GetUTCSysTime( struct TimeVal *dest );
   31 
   32 #ifdef __cplusplus
   33 }
   34 #endif /* __cplusplus */
   35 
   36 
   37 #endif /* CLIB_TIMER_PROTOS_H */