Add record() method to dynamic timer to allow reporting timeunits and

durations timeunits to be specified independently