tMin_ resets when an iteration has 0 us duration.
rikba opened this issue · 0 comments
rikba commented
The timing class resets tMin_
when tMin_==0
. I guess this was set because tMin_
initializes with 0
. However, it is well possible that during runtime a timing iteration will only last 0
micro seconds. Then tMin_
keeps resetting.
An easy fix would probably be to initialize tMin_(SIZE_MAX)
or whatever the maximum size for this variable is.