LLVM  4.0.0
Namespaces | Typedefs | Functions
Chrono.h File Reference
#include "llvm/Support/Compiler.h"
#include <chrono>
#include <ctime>
Include dependency graph for Chrono.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::sys
 

Typedefs

template<typename D = std::chrono::nanoseconds>
using llvm::sys::TimePoint = std::chrono::time_point< std::chrono::system_clock, D >
 A time point on the system clock. More...
 

Functions

LLVM_ATTRIBUTE_ALWAYS_INLINE
std::time_t 
llvm::sys::toTimeT (TimePoint<> TP)
 Convert a TimePoint to std::time_t. More...
 
LLVM_ATTRIBUTE_ALWAYS_INLINE
TimePoint
< std::chrono::seconds > 
llvm::sys::toTimePoint (std::time_t T)
 Convert a std::time_t to a TimePoint. More...
 
raw_ostream & llvm::operator<< (raw_ostream &OS, sys::TimePoint<> TP)