RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
cputime.h 文件参考
#include <stdint.h>
#include "cputimer.h"
+ cputime.h 的引用(Include)关系图:

浏览该文件的源代码.

结构体

struct  rt_clock_cputime_ops
 

函数

uint64_t clock_cpu_getres (void)
 
uint64_t clock_cpu_gettime (void)
 
int clock_cpu_settimeout (uint64_t tick, void(*timeout)(void *param), void *param)
 
int clock_cpu_issettimeout (void)
 
uint64_t clock_cpu_microsecond (uint64_t cpu_tick)
 
uint64_t clock_cpu_millisecond (uint64_t cpu_tick)
 
int clock_cpu_setops (const struct rt_clock_cputime_ops *ops)
 

函数说明

◆ clock_cpu_getres()

uint64_t clock_cpu_getres ( void )

◆ clock_cpu_gettime()

uint64_t clock_cpu_gettime ( void )

◆ clock_cpu_settimeout()

int clock_cpu_settimeout ( uint64_t tick,
void(* timeout )(void *param),
void * param )

◆ clock_cpu_issettimeout()

int clock_cpu_issettimeout ( void )

◆ clock_cpu_microsecond()

uint64_t clock_cpu_microsecond ( uint64_t cpu_tick)

◆ clock_cpu_millisecond()

uint64_t clock_cpu_millisecond ( uint64_t cpu_tick)

◆ clock_cpu_setops()

int clock_cpu_setops ( const struct rt_clock_cputime_ops * ops)