mpi_array.benchmarks.benchmark.get_process_time_timer¶
-
mpi_array.benchmarks.benchmark.
get_process_time_timer
()[source]¶ The best timer we can use is
time.process_time()
, but it is not available in the Python stdlib until Python 3.3. This is actypes
backport for Pythons that don’t have it.Return type: function
Returns: The time.process_time()
function, if available, otherwise, if possible, an equivalent created usingctypes
, otherwisetimeit.default_timer()
.