Using the ts/tick conversion functions provided in clock.h Do this caused we want speed up the time calculation, so change: clock_time2ticks, clock_ticks2time, clock_timespec_add, clock_timespec_compare, clock_timespec_subtract... to MACRO Signed-off-by: ligd <liguiding1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| clock_getcpuclockid.c | ||
| clock_getres.c | ||
| CMakeLists.txt | ||
| Make.defs | ||
| sched_backtrace.c | ||
| sched_cpucount.c | ||
| sched_dumpstack.c | ||
| sched_getprioritymax.c | ||
| sched_getprioritymin.c | ||
| task_cancelpt.c | ||
| task_setcancelstate.c | ||
| task_setcanceltype.c | ||
| task_startup.c | ||
| task_testcancel.c | ||