That is because I used Intel MKL’s matmul which automatically uses multiple cores. So call cpu_time() will not show real wall time.
About showing true wall time, you may check,