-#Introduction#
+# Introduction #
This is a simple profiler for torch to estimate processing time per module per function.
A simple example would be
-```lua
+```Lua
require 'torch'
require 'nn'
require 'profiler'
:updateOutput 0.19s [6.34%] (1.9mus/sample)
```
-##Usage##
+## Usage ##
### profiler.color ###
Prints the measured processing times. If nbSamples is provided, the time per samples will also be printed. If totalTime is not provided, the total at the top is used.
Non-Containers are hilighted with a '*' or in red.
-
---
-*Francois Fleuret, Jan 13th, 2017*