format improvements
This commit is contained in:
parent
6c0972b2d5
commit
c59fa578c7
@ -55,8 +55,7 @@ uint32_t PeriodicHousekeepingHelper::intervalSecondsToIntervalTicks(
|
|||||||
uint32_t ticks = std::ceil(static_cast<float>(intervalInMs) / divisor);
|
uint32_t ticks = std::ceil(static_cast<float>(intervalInMs) / divisor);
|
||||||
if(not isDiagnostics) {
|
if(not isDiagnostics) {
|
||||||
/* Now we need to multiply the calculated ticks with the factor as as well
|
/* Now we need to multiply the calculated ticks with the factor as as well
|
||||||
because the minimum tick count to generate a non-diagnostic is
|
because the minimum tick count to generate a non-diagnostic is the factor itself.
|
||||||
the factor.
|
|
||||||
|
|
||||||
Example calculation for non-diagnostic with
|
Example calculation for non-diagnostic with
|
||||||
0.4 second interval and 0.2 second task interval.
|
0.4 second interval and 0.2 second task interval.
|
||||||
|
Loading…
Reference in New Issue
Block a user