SyTen
time_output.h File Reference

Provides timing output. More...

#include <chrono>
#include <iomanip>
+ Include dependency graph for time_output.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::TimeOnlyString
 Shift a default-constructed object of this type into a stream to call shiftTime(,true) on the stream, resulting in output HH:MM:SS More...
 
struct  syten::TimeString
 Shift a default-constructed object of this type into a stream to call shiftTime() on the stream, resulting in output yyyy.mm.ddTHH:MM:SS.uuu <CPU Time>. More...
 

Namespaces

namespace  syten
 Syten namespace.
 

Functions

std::ostreamsyten::operator<< (std::ostream &out, TimeOnlyString const &)
 Shifts the current time into &out, as if shiftTime(out, true) was called. More...
 
std::ostreamsyten::operator<< (std::ostream &out, TimeString const &)
 Shifts the current date, time and cpu time into &out, as if shiftTime(out, false) was called. More...
 
template<typename Out >
void syten::shiftTime (Out &out, bool timeonly=false)
 Shift the date and time as well as the used cpu time so far into the stream. More...
 

Detailed Description

Provides timing output.