Home
last modified time | relevance | path

Searched refs:num_cores (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/src/system_wrappers/source/
Dcpu_wrapper_unittest.cc46 WebRtc_UWord32 num_cores = 0; in TEST() local
48 bool cpu_usage_available = cpu->CpuUsageMultiCore(num_cores, cores) != -1; in TEST()
54 ASSERT_GT(num_cores, 0u); in TEST()
58 cpu_usage_available = cpu->CpuUsageMultiCore(num_cores, cores) != -1; in TEST()
62 const WebRtc_Word32 average = cpu->CpuUsageMultiCore(num_cores, cores); in TEST()
64 EXPECT_GT(num_cores, 0u); in TEST()
68 printf("\nNumber of cores:%d\n", num_cores); in TEST()
70 for (WebRtc_UWord32 i = 0; i < num_cores; i++) { in TEST()
Dcpu_measurement_harness.cc111 WebRtc_UWord32 num_cores = 0; in Measure() local
114 cpu_sum_ = cpu_->CpuUsageMultiCore(num_cores, cores); in Measure()
Dcpu_win.cc37 WebRtc_Word32 CpuWindows::CpuUsageMultiCore(WebRtc_UWord32& num_cores, in CpuUsageMultiCore() argument
41 num_cores = 0; in CpuUsageMultiCore()
47 num_cores = 0; in CpuUsageMultiCore()
51 num_cores = number_of_objects_ - 1; in CpuUsageMultiCore()
Dcpu_win.h36 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& num_cores,
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dexecutive.py176 num_cores = os.sysconf("SC_NPROCESSORS_ONLN")
177 if isinstance(num_cores, int) and num_cores > 0:
178 return num_cores
/external/skia/tools/
Dbench_pictures.cfg95 for num_cores in cores:
96 configs.append(MultiThreadTileConfig(num_cores, tile_x, tile_y,