From T368073, we identified that TimingMetric->start() and stop() cannot handle recursive use, and samples must be recorded in a single operation.
Can we provide some helper functions to make this easier? And this maybe help us move closer to T245464?