Show # of workers too
This commit is contained in:
parent
92eeca0174
commit
f5f58cfcd6
|
@ -101,7 +101,7 @@ class WorkerManager:
|
||||||
diff = time.time() - last_printout
|
diff = time.time() - last_printout
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print(f"Workers: {self.workers}")
|
print(f"Workers: {len(self.workers)} {self.workers}")
|
||||||
print(f"Queue size: {self.queue.qsize()}/{self.queue.maxsize}")
|
print(f"Queue size: {self.queue.qsize()}/{self.queue.maxsize}")
|
||||||
print(f"Toggles: {self.n_toggles / diff:.2f}/s")
|
print(f"Toggles: {self.n_toggles / diff:.2f}/s")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue