GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-time.h"
Public Member Functions | |
time (void) | |
time (time_t t) | |
time (time_t t, int us) | |
time (double d) | |
time (const base_tm &tm) | |
time (const time &ot) | |
~time (void) | |
std::string | ctime (void) const |
double | double_value (void) const |
time & | operator= (const time &ot) |
void | stamp (void) |
time_t | unix_time (void) const |
long | usec (void) const |
Private Attributes | |
time_t | ot_unix_time |
long | ot_usec |
Definition at line 37 of file oct-time.h.
|
inline |
Definition at line 43 of file oct-time.h.
|
inline |
Definition at line 46 of file oct-time.h.
|
inline |
Definition at line 49 of file oct-time.h.
References rem().
octave::sys::time::time | ( | double | d | ) |
Definition at line 44 of file oct-time.cc.
References ot_usec.
octave::sys::time::time | ( | const base_tm & | tm | ) |
Definition at line 51 of file oct-time.cc.
References octave::sys::base_tm::gmtoff(), octave::sys::base_tm::hour(), octave::sys::base_tm::isdst(), octave::sys::base_tm::mday(), octave::sys::base_tm::min(), octave::sys::base_tm::mon(), octave_mktime_wrapper(), ot_unix_time, ot_usec, s, octave::sys::base_tm::sec(), string, strsave(), t, octave::sys::base_tm::usec(), octave::sys::base_tm::wday(), octave::sys::base_tm::yday(), octave::sys::base_tm::year(), and octave::sys::base_tm::zone().
|
inline |
Definition at line 75 of file oct-time.h.
|
inline |
Definition at line 89 of file oct-time.h.
std::string octave::sys::time::ctime | ( | void | ) | const |
Definition at line 86 of file oct-time.cc.
References octave::sys::base_tm::asctime().
|
inline |
Definition at line 93 of file oct-time.h.
Referenced by profile_data_accumulator::query_time().
Definition at line 78 of file oct-time.h.
References ot_unix_time, and ot_usec.
void octave::sys::time::stamp | ( | void | ) |
Definition at line 92 of file oct-time.cc.
References octave_gettimeofday_wrapper(), ot_unix_time, and ot_usec.
Referenced by interactive_input(), octave_change_to_directory(), and rehash_internal().
|
inline |
Definition at line 95 of file oct-time.h.
Referenced by octave::sys::localtime::init(), octave::sys::gmtime::init(), log_search(), oct_init_by_entropy(), octave::sys::operator+(), octave::sys::operator<(), octave::sys::operator==(), octave::sys::operator>(), and out_of_date_check().
|
inline |
Definition at line 97 of file oct-time.h.
Referenced by octave::sys::localtime::init(), octave::sys::gmtime::init(), oct_init_by_entropy(), octave::sys::operator+(), octave::sys::operator<(), octave::sys::operator==(), and octave::sys::operator>().
|
private |
Definition at line 104 of file oct-time.h.
Referenced by operator=(), stamp(), and time().
|
private |
Definition at line 107 of file oct-time.h.
Referenced by operator=(), stamp(), and time().