Home
last modified time | relevance | path

Searched full:numcpus (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c62 static int numcpus; variable
208 tids = malloc(sizeof(int) * numcpus); in main_thread()
213 memset(tids, 0, numcpus); in main_thread()
252 pthread_barrier_init(&mult_start, NULL, numcpus + 1); in main_thread()
257 /* Create numcpus-1 concurrent threads */ in main_thread()
258 for (j = 0; j < numcpus; j++) { in main_thread()
319 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
321 criteria = pass_criteria * numcpus; in main()
333 /* Line below rounds up iterations to a multiple of numcpus. in main()
334 * Without this, having iterations not a mutiple of numcpus causes in main()
[all …]
/external/perfetto/ui/src/tracks/process_scheduling/
Dcontroller.ts33 private numCpus = 0; property in ProcessSchedulingTrackController
62 this.numCpus = await this.engine.getNumberOfCpus();
98 // cpu < numCpus improves perfomance a lot since the window table can
102 sum(dur)/cast(${bucketSizeNs * this.numCpus} as float) as utilization
106 and cpu < ${this.numCpus}
133 // cpu < numCpus improves perfomance a lot since the window table can
140 cpu < ${this.numCpus}
156 numCpus: this.numCpus, constant
Dcommon.ts35 numCpus: number; property
Dfrontend.ts112 const cpuTrackHeight = Math.floor(RECT_HEIGHT / data.numCpus);
186 const cpuTrackHeight = Math.floor(RECT_HEIGHT / data.numCpus);
/external/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c292 int pri_boost, numcpus; in main() local
298 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
303 if (rt_threads == -1 || rt_threads > numcpus) { in main()
304 rt_threads = numcpus; in main()
307 numcpus); in main()
308 printf("Using %d\n", numcpus); in main()
/external/libjpeg-turbo/
D.travis.yml99 export NUMCPUS=`grep -c '^processor' /proc/cpuinfo` &&
100 make -j$NUMCPUS --load-average=$NUMCPUS &&
/external/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c170 int numcpus; in main() local
179 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
180 rt_threads = numcpus; in main()
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c267 int i, numcpus; in main() local
278 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
279 med_threads = numcpus; in main()
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc425 int NumCPUs = 0; in GetNumCPUs()
446 NumCPUs++; in GetNumCPUs()
463 if ((MaxID + 1) != NumCPUs) { in GetNumCPUs()
468 return NumCPUs; in GetNumCPUs()
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c80 int numcpus; variable
409 numcpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
410 nr_tasks = numcpus + 1; in main()
/external/google-benchmark/src/
Dsysinfo.cc471 int NumCPUs = 0; in GetNumCPUs()
492 NumCPUs++; in GetNumCPUs()
509 if ((MaxID + 1) != NumCPUs) { in GetNumCPUs()
514 return NumCPUs; in GetNumCPUs()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp2798 UInt32 numCPUs = 1; in Bench() local
2807 numCPUs = threadsInfo.GetNumProcessThreads(); in Bench()
2809 numCPUs = NSystem::GetNumberOfProcessors(); in Bench()
2815 UInt32 numThreadsSpecified = numCPUs; in Bench()
2909 RINOK(ParseMtProp(s, propVariant, numCPUs, numThreadsSpecified)); in Bench()
3044 …Requirements(*printCallback, "size: ", ramSize_Defined, ramSize, "CPU hardware threads:", numCPUs); in Bench()
3214 if (numCPUs < 2) in Bench()
3216 numThreads = numCPUs; in Bench()
3219 if (numCPUs >= 4) in Bench()
3220 numThreads = numCPUs / 2; in Bench()
[all …]
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.h50 // base::NumCPUs().
/external/honggfuzz/
Ddisplay.c75 static unsigned getCpuUse(int numCpus) { in getCpuUse() argument
110 return ((userCycles + niceCycles + systemCycles) * numCpus * 100) / (allCycles); in getCpuUse()
/external/perfetto/ui/src/controller/
Dtrace_controller.ts225 const numCpus = await engine.getNumberOfCpus(); constant
252 for (let cpu = 0; cpu < numCpus; cpu++) {
/external/tensorflow/tensorflow/core/platform/posix/
Dport.cc84 int count = absl::base_internal::NumCPUs(); in NumTotalCPUs()
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h931 // Equivalent to ThreadRange(NumCPUs(), NumCPUs())
/external/google-benchmark/include/benchmark/
Dbenchmark.h931 // Equivalent to ThreadRange(NumCPUs(), NumCPUs())
/external/skqp/platform_tools/android/bin/linux/
Dperfhostlibpthread.so.0 _Jv_RegisterClasses sem_post pthread_attr_init sem_init pthread_mutex_unlock pthread_create raise pthread_attr_setstacksize __errno_location fork nanosleep waitpid pthread_mutex_lock lseek64 ...
/external/skia/platform_tools/android/bin/linux/
Dperfhostlibpthread.so.0 _Jv_RegisterClasses sem_post pthread_attr_init sem_init pthread_mutex_unlock pthread_create raise pthread_attr_setstacksize __errno_location fork nanosleep waitpid pthread_mutex_lock lseek64 ...