It seems to work okay, but there was no heavy testing so far. See test-profiler.lua for a short example.
+### profiler.color ###
+
+This is a Boolean flag to state if the printing should be done in color. It is true by default.
+
### profiler.decorate(model, [functionsToDecorate]) ###
This function should be called before starting the computation.
### profiler.print(model, [nbSamples], [totalTime]) ###
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.
+
+Non-Containers are hilighted with a '*' or in red.