ewmscp  ..
Classes | Functions
statCollector Namespace Reference

Classes

class  base
 
class  typed
 

Functions

std::chrono::system_clock::time_point timePoint (const struct timespec &spec)
 

Function Documentation

◆ timePoint()

std::chrono::system_clock::time_point statCollector::timePoint ( const struct timespec &  spec)
inline

Definition at line 115 of file statCollector.h.

115  {
116  return std::chrono::system_clock::time_point(std::chrono::seconds(spec.tv_sec) +
117  std::chrono::nanoseconds(spec.tv_nsec));
118 
119  }

Referenced by options::internal::fParseTimePointString().

Here is the caller graph for this function: