CTest: safe conversions from chrono duration to integer values
This MR changes std::chrono::duration for a typedef called cmDuration and adds a function to safely convert to integer types.
This MR changes std::chrono::duration for a typedef called cmDuration and adds a function to safely convert to integer types.