diff --git a/Readme.md b/Readme.md index dda026aef617223654e6f0e7a14296cb5aa52d47..dab7b6c05033b23ee50f989a18b104cce400094f 100644 --- a/Readme.md +++ b/Readme.md @@ -67,8 +67,8 @@ setup( ## Usage ```python -from pyTiming.pyTiming import timer -timer = timer() # starts measuring time +from pyTiming import pyTiming +timer = pyTiming.timer() # starts measuring time . . . timer.start_step('step1') @@ -89,3 +89,5 @@ timer.end() # end all measurements print(timer.get_analysis()) ``` + +**Warning** do not call a step `'main'` as this name is used for the global step