It also resets the accumulated timings to zero.
-### profiler.print(model, [nbSamples]) ###
+### profiler.print(model, [nbSamples], [totalTime]) ###
-Prints the measured processing times. If nbSamples is provided, the time per samples will also be printed.
+Prints the measured processing times. If nbSamples is provided, the time per samples will also be printed. If totalTime is provided, the percentages will also be printed.