Searched refs:CLOCK_PROCESS_CPUTIME_ID (Results 1 – 6 of 6) sorted by relevance
35 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &this->fCpu)) { in startCpu()43 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) { in endCpu()
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()
210 #define CLOCK_PROCESS_CPUTIME_ID 2 macro
682 #ifdef CLOCK_PROCESS_CPUTIME_ID683 { CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID" },
96 if (::clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &TS) == 0)