Use mlperf enhanced cloudmesh Stopwatch as this will generate timers for mlcommons look at cloudmesh repos in github the earth quake code has example on how to use it