issue #5685: refactor create and ctor of ProgressTimer
Merge pull request #1985 from joshuastray/use_new_in_sample

issue #5685: refactor create and ctor of ProgressTimer