This function should be called before starting the computation.
-t replaces functions specified in functionsToDecorate by instrumented versions which keep track of computation times. If functionsToDecorate is not provided, it decorates by default updateOutput and backward.
+It replaces functions specified in functionsToDecorate by instrumented versions which keep track of computation times. If functionsToDecorate is not provided, it decorates by default updateOutput and backward.
-### profiler.print(model, [nbSamples]) ###
+It also resets the accumulated timings to zero.
-Prints the measured processing times. If nbSamples is provided, the time per samples will also be printed.
-It seems to work okay, but there was no heavy testing so far.
+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.
---
-Francois Fleuret
-Dec 5th, 2016
+Non-Containers are hilighted with a '*' or in red.