#include <sys/resource.h>
#include <sys/time.h>
#include <sys/times.h>
#include "time-wrappers.h"
#include "gethrxtime.h"
Go to the source code of this file.
Functions | |
int | octave_cpu_time (time_t *usr_sec, time_t *sys_sec, long *usr_usec, long *sys_usec) |
int | octave_getrusage_wrapper (time_t *usr_sec, time_t *sys_sec, long *usr_usec, long *sys_usec, long *maxrss, long *ixrss, long *idrss, long *isrss, long *minflt, long *majflt, long *nswap, long *inblock, long *oublock, long *msgsnd, long *msgrcv, long *nsignals, long *nvcsw, long *nivcsw) |
long long | octave_gettime_ns_wrapper (void) |
int | octave_gettimeofday_wrapper (time_t *sec, long *usec) |
time_t | octave_mktime_wrapper (struct tm *tp) |
int octave_cpu_time | ( | time_t * | usr_sec, |
time_t * | sys_sec, | ||
long * | usr_usec, | ||
long * | sys_usec | ||
) |
Definition at line 63 of file time-wrappers.c.
Referenced by cpu_time::stamp().
int octave_getrusage_wrapper | ( | time_t * | usr_sec, |
time_t * | sys_sec, | ||
long * | usr_usec, | ||
long * | sys_usec, | ||
long * | maxrss, | ||
long * | ixrss, | ||
long * | idrss, | ||
long * | isrss, | ||
long * | minflt, | ||
long * | majflt, | ||
long * | nswap, | ||
long * | inblock, | ||
long * | oublock, | ||
long * | msgsnd, | ||
long * | msgrcv, | ||
long * | nsignals, | ||
long * | nvcsw, | ||
long * | nivcsw | ||
) |
Definition at line 91 of file time-wrappers.c.
Referenced by resource_usage::stamp().
long long octave_gettime_ns_wrapper | ( | void | ) |
Definition at line 163 of file time-wrappers.c.
int octave_gettimeofday_wrapper | ( | time_t * | sec, |
long * | usec | ||
) |
Definition at line 42 of file time-wrappers.c.
Referenced by file_time::file_time(), and time::stamp().
time_t octave_mktime_wrapper | ( | struct tm * | tp | ) |
Definition at line 154 of file time-wrappers.c.