JBTM-1427 Add Sampler class to manage stopwatches