Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 242 Bytes

File metadata and controls

18 lines (16 loc) · 242 Bytes

Examples Average Time

Example 1

at = AverageTime()
at.start("total")
at.start("task")
for i in range(100):
    # task
    at.loop("task")
at.stop("total")
print(at)
total: 0:00:03.454809
task : 0:00:00.034543