Measure runtime in thread cpu time instead of real time