- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# /space/home/slher/rel/Beken/v6_4_5/macsw/plf/refip/src/driver/time/nx_time.h

Go to the documentation of this file.

    00001
    00013 #ifndef _PLATFORM_H_
    00014 #define _PLATFORM_H_
    00015
    00026 enum time_origin_t {
    00028     SINCE_BOOT,
    00030     SINCE_EPOCH,
    00031 };
    00032
    00042 void time_init(uint32_t sec, uint32_t usec);
    00043
    00058 int get_time(enum time_origin_t origin, uint32_t *sec, uint32_t *usec);
    00059
    00072 int get_time_us(enum time_origin_t origin, uint64_t *usec);
    00073
    00077 #endif /* _PLATFORM_H_ */