Skip to content

Class TempLat::TimeSpent

ClassList > TempLat > TimeSpent

A class which measures the wall time since its construction. More...

  • #include <timespent.h>

Public Functions

Type Name
TimeSpent ()
auto get () const
Returns the age of this instance.

Public Static Functions

Type Name
void Test (TestObjectUnknownHere & tdd)
auto getProcessAge ()
Static value which returns the age of the total process.

Detailed Description

Unit test: ctest -R test-timespent

Public Functions Documentation

function TimeSpent

inline TempLat::TimeSpent::TimeSpent () 

function get

Returns the age of this instance.

inline auto TempLat::TimeSpent::get () const


Public Static Functions Documentation

function Test

template<typename TestObjectUnknownHere>
static inline void TempLat::TimeSpent::Test (
    TestObjectUnknownHere & tdd
) 

function getProcessAge

Static value which returns the age of the total process.

static inline auto TempLat::TimeSpent::getProcessAge () 


Friends Documentation

friend operator<<

inline std::ostream & TempLat::TimeSpent::operator<< (
    std::ostream & ostream,
    const TimeSpent & ts
) 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/log/timespent.h