Searched refs:clock_current (Results 1 – 3 of 3) sorted by relevance
235 static clock_t clock_current; in ecs_timer_cpu_time() local237 clock_current = clock(); in ecs_timer_cpu_time()238 if (clock_current != (clock_t)-1) in ecs_timer_cpu_time()240 = ((double)(clock_current - _ecs_timer_clock_start)) / CLOCKS_PER_SEC; in ecs_timer_cpu_time()
710 static clock_t clock_current; in ple_timer_cpu_time() local712 clock_current = clock(); in ple_timer_cpu_time()713 if (clock_current != (clock_t)-1) in ple_timer_cpu_time()715 = ((double)(clock_current - _ple_timer_clock_start)) / CLOCKS_PER_SEC; in ple_timer_cpu_time()
364 clock_t clock_current = clock() - _cs_timer_clock_start; in _cs_timer_cpu_stdc_clock() local365 timer->sec = clock_current / CLOCKS_PER_SEC; in _cs_timer_cpu_stdc_clock()366 timer->nsec = (clock_current % CLOCKS_PER_SEC)*1.e+9/CLOCKS_PER_SEC; in _cs_timer_cpu_stdc_clock()