#include <unistd.h>
#include <sys/types.h>
#include <sys/times.h>
#include <sys/param.h>
Include dependency graph for timing.c:
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 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) |
#define GET_TIME | ( | S | ) | times(&(S)) |
double elapsed_sec | ( | void | ) |
Definition at line 48 of file timing.c.
References DIFF_IN_SECS, and GET_TIME.
Referenced by diffeq_model(), rank(), routesplinesterm(), shortest_path(), solve_model(), and stress_majorization_kD_mkernel().
void start_timer | ( | void | ) |
Definition at line 43 of file timing.c.
References GET_TIME.
Referenced by diffeq_model(), rank(), routesplinesinit(), shortest_path(), and stress_majorization_kD_mkernel().