dis_cpu_time(7rheolef) | dis_cpu_time(7rheolef) |
dis_cpu_time - cumulated cpu for distributed computations (rheolef-7.2)
double dis_cpu_time(); double dis_wall_time(); double seq_cpu_time(); double seq_wall_time();
double t_start = dis_wall_time(); ...stuff to be timed... double t_end = dis_wall_time(); derr << 'That took ' << t_end - t_start << ' seconds' << endl double cpu_start = dis_cpu_time(); ...stuff to be timed... double cpu_end = dis_cpu_time(); derr << 'That needs ' << cpu_end - cpu_start << ' CPU seconds' << endl
See also diststream(2) for derr.
dis_cpu_time
seq_cpu_time
dis_wall_time
seq_wall_time
This documentation has been generated from file linalg/lib/dis_cpu_time.h
Pierre Saramito <Pierre.Saramito@imag.fr>
Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Version 7.2 | rheolef |