Time#
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Time <class-time>`
[Time](#class-time)
Detailed description#
List of Public Methods#
Complete Member Function Documentation#
add#
void Time::add(Time &time)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Time::add(Time &time) <time-public-void-time-add-time-ref-time>`
[void Time::add(Time &time)](#time-public-void-time-add-time-ref-time)
add_time#
void Time::add_time(Time &time_begin, const Time &time_end)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Time::add_time(Time &time_begin, const Time &time_end) <time-public-void-time-add-time-time-ref-time-begin-const-time-ref-time-end>`
[void Time::add_time(Time &time_begin, const Time &time_end)](#time-public-void-time-add-time-time-ref-time-begin-const-time-ref-time-end)
get_time#
void Time::get_time()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Time::get_time() <time-public-void-time-get-time>`
[void Time::get_time()](#time-public-void-time-get-time)
minus#
void Time::minus(Time &time)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Time::minus(Time &time) <time-public-void-time-minus-time-ref-time>`
[void Time::minus(Time &time)](#time-public-void-time-minus-time-ref-time)
second#
double Time::second() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`double Time::second() const <time-public-double-time-second-const>`
[double Time::second() const](#time-public-double-time-second-const)
Time#
Time::Time()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Time::Time() <time-public-time-time>`
[Time::Time()](#time-public-time-time)
Attributes Documentation#
const char *const Time::description = "gettimeofday (elapsed CPU time)"
struct timeval Time::time_