* The clock_cpu_gettime() function shall return the current value of cpu time tick. * * @return the cpu tick */
| 35 | * @return the cpu tick |
| 36 | */ |
| 37 | uint64_t clock_cpu_gettime(void) |
| 38 | { |
| 39 | if (_cputime_ops) |
| 40 | return _cputime_ops->cputime_gettime(); |
| 41 | |
| 42 | rt_set_errno(ENOSYS); |
| 43 | return 0; |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * The clock_cpu_settimeout() fucntion set timeout time and timeout callback function |
no test coverage detected