The Gaudi Framework  master (37c0b60a)
std::chrono Namespace Reference

Namespaces

 io
 Helpers to stream duration objects with proper units.
 

Classes

class  duration
 
class  duration_values
 
class  high_resolution_clock
 
class  hours
 
class  microseconds
 
class  milliseconds
 
class  minutes
 
class  nanoseconds
 
class  seconds
 
class  steady_clock
 
class  system_clock
 
class  time_point
 
class  treat_as_floating_point
 

Functions

time_point_cast (T... args)
 
duration_cast (T... args)
 
template<class Rep , class Period >
std::ostreamoperator<< (std::ostream &os, const duration< Rep, Period > &d)
 stream operator for std::chrono::duration including unit More...
 

Function Documentation

◆ operator<<()

template<class Rep , class Period >
std::ostream& std::chrono::operator<< ( std::ostream os,
const duration< Rep, Period > &  d 
)

stream operator for std::chrono::duration including unit

Definition at line 68 of file ChronoIO.h.

68  {
69  os << d.count() << io::duration_unit( d );
70  return os;
71  }
std::chrono::io::duration_unit
std::string duration_unit(std::chrono::hours)
Definition: ChronoIO.h:61