GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
time-wrappers.h File Reference
#include <time.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)
 

Function Documentation

◆ octave_cpu_time()

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().

◆ octave_getrusage_wrapper()

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().

◆ octave_gettime_ns_wrapper()

long long octave_gettime_ns_wrapper ( void  )

Definition at line 163 of file time-wrappers.c.

◆ octave_gettimeofday_wrapper()

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().

◆ octave_mktime_wrapper()

time_t octave_mktime_wrapper ( struct tm *  tp)

Definition at line 154 of file time-wrappers.c.