Adding multi-threaded cps measurement.