Forked from
Core Modules / dune-common
Source project has a limited visibility.
-
getrusage() is a very expensive system call and involves several kernel locks. This prevents multithreaded applications from scaling effectively. Using std:chrono::high_resolution_clock is portable and very low cost in most cases.
getrusage() is a very expensive system call and involves several kernel locks. This prevents multithreaded applications from scaling effectively. Using std:chrono::high_resolution_clock is portable and very low cost in most cases.