Graphviz
2.41.20171026.1811
|
#include <unistd.h>
#include <sys/types.h>
#include <sys/times.h>
#include <sys/param.h>
Go to the source code of this file.
Macros | |
#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 elapsed_sec(), and start_timer().
double elapsed_sec | ( | void | ) |
Definition at line 50 of file timing.c.
References DIFF_IN_SECS, and GET_TIME.
Referenced by diffeq_model(), init_xdot(), rank2(), routesplinesterm(), shortest_path(), solve_model(), and stress_majorization_kD_mkernel().
void start_timer | ( | void | ) |
Definition at line 45 of file timing.c.
References GET_TIME.
Referenced by diffeq_model(), gvRenderJobs(), init_xdot(), rank2(), routesplinesinit(), shortest_path(), and stress_majorization_kD_mkernel().