Searched refs:thread_load (Results 1 – 4 of 4) sorted by relevance
1068 size_t thread_load = 0; in init_idempotents() local1070 while (thread_load < mean_load && last[i] < threshold_index) { in init_idempotents()1074 thread_load += len; in init_idempotents()1077 while (thread_load < mean_load) { in init_idempotents()1078 thread_load += cmplxty; in init_idempotents()1081 total_load -= thread_load; in init_idempotents()1082 REPORT_DEFAULT("thread %d has load %d\n", i + 1, thread_load); in init_idempotents()
1384 size_t thread_load = 0; in init_idempotents() local1386 while (thread_load < mean_load && last[i] < threshold_index) { in init_idempotents()1390 thread_load += len; in init_idempotents()1393 while (thread_load < mean_load) { in init_idempotents()1394 thread_load += cmplxty; in init_idempotents()1397 total_load -= thread_load; in init_idempotents()1398 REPORT_DEFAULT("thread %d has load %d\n", i + 1, thread_load); in init_idempotents()
285 void thread_load(const std::string& file)415 …boost::shared_ptr<threading::thread> t(new threading::thread("sounds", boost::bind(thread_load, fi…417 boost::shared_ptr<threading::thread> t(new threading::thread(boost::bind(thread_load, file)));
1371 size_t thread_load = 0; in IdempotentCounter() local1377 thread_load += _scc[comp].size() - _scc_pos[i]; in IdempotentCounter()1378 if (thread_load >= mean_load && thread_id != _nr_threads - 1) { in IdempotentCounter()1380 thread_load = 0; in IdempotentCounter()