changeset 59150 | 82b2ba888190 |
parent 51542 | 04b857edadec |
59149:3b998574be4b | 59150:82b2ba888190 |
---|---|
35 WorkGang _workers; |
35 WorkGang _workers; |
36 |
36 |
37 void run(ZTask* task, uint nworkers); |
37 void run(ZTask* task, uint nworkers); |
38 |
38 |
39 public: |
39 public: |
40 static uint calculate_nparallel(); |
|
41 static uint calculate_nconcurrent(); |
|
42 |
|
43 ZWorkers(); |
40 ZWorkers(); |
44 |
41 |
45 uint nparallel() const; |
42 uint nparallel() const; |
46 uint nparallel_no_boost() const; |
43 uint nparallel_no_boost() const; |
47 uint nconcurrent() const; |
44 uint nconcurrent() const; |