OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:worker_count
(Results
1 - 4
of
4
) sorted by null
/external/autotest/site_utils/lxc/container_pool/
pool.py
162
def
worker_count
(self):
member in class:Pool
/external/python/cpython3/Lib/test/
test_concurrent_futures.py
63
worker_count
= 5
variable in class:ExecutorMixin
68
self.executor = self.executor_type(max_workers=self.
worker_count
)
84
for _ in range(self.
worker_count
)]
434
self.executor.map(str, [2] * (self.
worker_count
+ 1))
/external/python/futures/
test_futures.py
137
worker_count
= 5
variable in class:ExecutorMixin
142
self.executor = self.executor_type(max_workers=self.
worker_count
)
159
for _ in range(self.
worker_count
)]
/external/vulkan-validation-layers/demos/smoke/
Smoke.cpp
65
int
worker_count
= std::thread::hardware_concurrency();
local
68
if (!multithread_ ||
worker_count
< 2) {
70
worker_count
= 1;
73
const int object_per_worker = static_cast<int>(sim_.objects().size()) /
worker_count
;
76
workers_.reserve(
worker_count
);
77
for (int i = 0; i <
worker_count
; i++) {
79
if (i <
worker_count
- 1)
Completed in 695 milliseconds