base
Public Member Functions | Public Attributes | List of all members
base::TimeMark Struct Reference

#include <TimeMark.hpp>

Public Member Functions

 TimeMark (const std::string &label)
 
Time passed () const
 
clock_t cycles () const
 

Public Attributes

std::string label
 
Time mark
 
clock_t clock
 

Constructor & Destructor Documentation

◆ TimeMark()

base::TimeMark::TimeMark ( const std::string &  label)

Member Function Documentation

◆ cycles()

clock_t base::TimeMark::cycles ( ) const

◆ passed()

Time base::TimeMark::passed ( ) const

Return the time that has passed since the recorded time and now

Member Data Documentation

◆ clock

clock_t base::TimeMark::clock

◆ label

std::string base::TimeMark::label

◆ mark

Time base::TimeMark::mark

The documentation for this struct was generated from the following files: