[cleanup] Remove old code in Dune::Timer
All threads resolved!
All threads resolved!
Compare changes
Files
3- Santiago Ospina De Los Ríos authored
Storing duration in doubles is sub-optimal as each cast may incur in truncation. Accumulations may also truncate the value further. Using the native value preserves the duration unit user request its value in seconds. Use duration_cast instead of division: Interestingly, dividing by 1.0s yields a different (slightly longer) assembly code than when making an explicit cast to seconds. The difference seems to me is the cast manages to generate SEE vector registers/instructions.
+ 3
− 0