Fix opt warning in some cases.
Tell how many profile are summed
Add timming of the compute min peak algo.
Merge pull request #2119 from nouiz/warning

Warning