GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-time.h File Reference
#include "octave-config.h"
#include <iosfwd>
#include <string>
Include dependency graph for oct-time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  base_tm
 
class  cpu_time
 
class  gmtime
 
class  localtime
 
class  resource_usage
 
class  strptime
 
class  time
 

Functions

static double as_double (OCTAVE_TIME_T sec, long usec)
 
bool operator!= (const time &t1, const time &t2)
 
time operator+ (const time &t1, const time &t2)
 
bool operator< (const time &t1, const time &t2)
 
bool operator<= (const time &t1, const time &t2)
 
bool operator== (const time &t1, const time &t2)
 
bool operator> (const time &t1, const time &t2)
 
bool operator>= (const time &t1, const time &t2)
 

Function Documentation

◆ as_double()

static double as_double ( OCTAVE_TIME_T  sec,
long  usec 
)
inlinestatic

Definition at line 35 of file oct-time.h.

Referenced by time::double_value(), cpu_time::system(), and cpu_time::user().

◆ operator!=()

bool operator!= ( const time t1,
const time t2 
)
inline

Definition at line 134 of file oct-time.h.

◆ operator+()

time operator+ ( const time t1,
const time t2 
)
inline

Definition at line 178 of file oct-time.h.

References time::unix_time(), and time::usec().

◆ operator<()

bool operator< ( const time t1,
const time t2 
)
inline

Definition at line 139 of file oct-time.h.

References time::unix_time(), and time::usec().

◆ operator<=()

bool operator<= ( const time t1,
const time t2 
)
inline

Definition at line 152 of file oct-time.h.

◆ operator==()

bool operator== ( const time t1,
const time t2 
)
inline

Definition at line 128 of file oct-time.h.

References time::unix_time(), and time::usec().

◆ operator>()

bool operator> ( const time t1,
const time t2 
)
inline

Definition at line 159 of file oct-time.h.

References time::unix_time(), and time::usec().

◆ operator>=()

bool operator>= ( const time t1,
const time t2 
)
inline

Definition at line 172 of file oct-time.h.