Searched refs:CLOCK_PROCESS_CPUTIME_ID (Results 1 – 7 of 7) sorted by relevance
10 #if defined(CLOCK_PROCESS_CPUTIME_ID) || (defined(HAVE_DECL_CLOCK_PROCESS_CPUTIME_ID) && HAVE_DECL_…11 XLAT(CLOCK_PROCESS_CPUTIME_ID),
3 CLOCK_PROCESS_CPUTIME_ID
29 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &fCpu)) { in startCpu()37 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) { in endCpu()
49 #define CLOCK_PROCESS_CPUTIME_ID 2 macro
103 m_clkid = BtlConfig::Instance.realclock ? CLOCK_REALTIME : CLOCK_PROCESS_CPUTIME_ID; in Portable_Timer()
129 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in getCpuTime()
103 if (!clock_gettime(CLOCK_PROCESS_CPUTIME_ID, t)) in mytime()