Stride Reference Manual  - generated for commit 9643b11
stride::util::TimeToString Struct Reference

Utilities to tag clocks and to reformat number of ticks to a string. More...

#include <TimeToString.h>

Collaboration diagram for stride::util::TimeToString:
Collaboration graph

Static Public Member Functions

static std::string ToColonString (std::chrono::minutes d)
 Produce string in hh:mm:ss format. More...
 
static std::string ToColonString (std::chrono::seconds d)
 Produce string in hh:mm:ss format. More...
 
static std::string ToColonString (std::chrono::milliseconds d)
 Produce string in hh:mm:ss:mus format. More...
 
static std::string ToColonString (std::chrono::microseconds d)
 Produce string in hh:mm:ss:ms:mus format. More...
 
static std::string ToColonString (std::chrono::nanoseconds d)
 Produce string in hh:mm:ss:ms:mus:ns format. More...
 

Detailed Description

Utilities to tag clocks and to reformat number of ticks to a string.

Definition at line 32 of file TimeToString.h.

Member Function Documentation

static std::string stride::util::TimeToString::ToColonString ( std::chrono::minutes  d)
static

Produce string in hh:mm:ss format.

Referenced by stride::util::Stopwatch< T >::ToString().

Here is the caller graph for this function:

static std::string stride::util::TimeToString::ToColonString ( std::chrono::seconds  d)
static

Produce string in hh:mm:ss format.

static std::string stride::util::TimeToString::ToColonString ( std::chrono::milliseconds  d)
static

Produce string in hh:mm:ss:mus format.

static std::string stride::util::TimeToString::ToColonString ( std::chrono::microseconds  d)
static

Produce string in hh:mm:ss:ms:mus format.

static std::string stride::util::TimeToString::ToColonString ( std::chrono::nanoseconds  d)
static

Produce string in hh:mm:ss:ms:mus:ns format.


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