LLVM  6.0.0svn
Classes | Namespaces | Typedefs | Functions
Chrono.h File Reference
#include "llvm/Support/Compiler.h"
#include "llvm/Support/FormatProviders.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.

Classes

struct  llvm::format_provider< sys::TimePoint<> >
 Format provider for TimePoint<> More...
 
struct  llvm::detail::unit< Period >
 
struct  llvm::detail::unit< std::ratio< 3600 > >
 
struct  llvm::detail::unit< std::ratio< 60 > >
 
struct  llvm::detail::unit< std::ratio< 1 > >
 
struct  llvm::detail::unit< std::milli >
 
struct  llvm::detail::unit< std::micro >
 
struct  llvm::detail::unit< std::nano >
 
struct  llvm::format_provider< std::chrono::duration< Rep, Period > >
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::sys
 
 llvm::detail
 Implementation details of the pass manager interfaces.
 

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)