Home
last modified time | relevance | path

Searched refs:end_cpu (Results 1 – 5 of 5) sorted by relevance

/external/skia/bench/
DBenchSysTimer_posix.cpp42 timespec end_cpu; in endCpu() local
43 if (-1 == clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end_cpu)) { in endCpu()
45 end_cpu = none; in endCpu()
47 return intervalInMSec(this->fCpu, end_cpu); in endCpu()
DBenchSysTimer_c.cpp21 clock_t end_cpu = clock(); in endCpu() local
22 this->fCpu = (end_cpu - this->fStartCpu) * CLOCKS_PER_SEC / 1000.0; in endCpu()
DBenchSysTimer_windows.cpp44 ULONGLONG end_cpu = winCpuTime(); in endCpu() local
45 return static_cast<double>((end_cpu - this->fStartCpu)) / 10000.0L; in endCpu()
DBenchSysTimer_mach.cpp61 time_value_t end_cpu = macCpuTime(); in endCpu() local
62 return intervalInMSec(this->fStartCpu, end_cpu); in endCpu()
/external/linux-tools-perf/util/
Dcpumap.c105 unsigned long start_cpu, end_cpu = 0; in cpu_map__new() local
127 end_cpu = strtoul(cpu_list, &p, 0); in cpu_map__new()
129 if (end_cpu >= INT_MAX || (*p != '\0' && *p != ',')) in cpu_map__new()
132 if (end_cpu < start_cpu) in cpu_map__new()
135 end_cpu = start_cpu; in cpu_map__new()
138 for (; start_cpu <= end_cpu; start_cpu++) { in cpu_map__new()