used CLOCK_MONOTONIC_RAW to replace CLOCK_PROCESS for real elapsed time