As criterion supports custom measurement now, we can use POSIX CPU time rather than wall time now!
Use getrusage to get currently used time.
getrusage