Home | History | Annotate | Download | only in benchmarks

Lines Matching defs:n_threads

27   int n_threads = 0;
29 n_threads = 4;
32 n_threads = atoi(argv[1]);
33 assert(n_threads > 0 && n_threads <= 32);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
38 a = new int[n_threads * len];
39 pthread_t *t = new pthread_t[n_threads];
40 for (int i = 0; i < n_threads; i++) {
43 for (int i = 0; i < n_threads; i++) {