Fix Fabric's ThroughputMonitor docs (#19464)
This commit is contained in:
parent
3fbc29ba21
commit
d61f6fecd4
|
@ -223,7 +223,7 @@ class ThroughputMonitor(Throughput):
|
|||
|
||||
logger = ...
|
||||
fabric = Fabric(logger=logger)
|
||||
throughput = ThroughputMonitor()
|
||||
throughput = ThroughputMonitor(fabric)
|
||||
t0 = time()
|
||||
for i in range(1, 100):
|
||||
do_work()
|
||||
|
|
Loading…
Reference in New Issue