|
Graphviz
2.29.20120524.0446
|
#include <unistd.h>#include <sys/types.h>#include <sys/times.h>#include <sys/param.h>
Go to the source code of this file.
Defines | |
| #define | HZ 60 |
| #define | GET_TIME(S) times(&(S)) |
| #define | DIFF_IN_SECS(S, T) ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime)/(double)HZ) |
Typedefs | |
| typedef struct tms | mytime_t |
Functions | |
| void | start_timer (void) |
| double | elapsed_sec (void) |
| #define DIFF_IN_SECS | ( | S, | |
| T | |||
| ) | ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime)/(double)HZ) |
Definition at line 28 of file timing.c.
Referenced by elapsed_sec().
| #define GET_TIME | ( | S | ) | times(&(S)) |
Definition at line 27 of file timing.c.
Referenced by start_timer(), and elapsed_sec().
| double elapsed_sec | ( | void | ) |
Definition at line 50 of file timing.c.
References GET_TIME, and DIFF_IN_SECS.
Referenced by init_xdot(), rank2(), routesplinesterm(), stress_majorization_kD_mkernel(), diffeq_model(), solve_model(), and shortest_path().
| void start_timer | ( | void | ) |
Definition at line 45 of file timing.c.
References GET_TIME.
Referenced by init_xdot(), gvRenderJobs(), rank2(), routesplinesinit(), stress_majorization_kD_mkernel(), diffeq_model(), and shortest_path().
1.7.5