30 lines
437 B
C
30 lines
437 B
C
#ifndef __LISA_OS_TIME__
|
|
#define __LISA_OS_TIME__
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* @brief get ticks
|
|
* @return uint32_t 秒
|
|
*/
|
|
uint64_t lisa_os_get_ticks(void);
|
|
|
|
/**
|
|
* @brief gettime
|
|
* @return uint32_t 秒
|
|
*/
|
|
uint32_t lisa_os_get_time(void);
|
|
|
|
/**
|
|
* @brief rand
|
|
* @return uint32_t
|
|
*/
|
|
uint32_t lisa_rand32(void);
|
|
|
|
uint64_t lisa_os_get_time_ssl(void *arg);
|
|
|
|
uint64_t lisa_os_get_tick_ms();
|
|
|
|
#endif //__LISA_OS_TIME__
|