Fix 0 TPS and Infinity time/tick with periodic profiling disabled.Signed-off-by: Ross Allan <[email protected]> (commit: 105b2b2)