STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
chrono::system_clock Struct Reference
Inheritance diagram for chrono::system_clock:
chrono::steady_clock

Public Types

typedef _LONGLONG rep
 
typedef ratio_multiply< ratio< _XTIME_NSECS_PER_TICK, 1 >, nanoperiod
 
typedef chrono::duration< rep, periodduration
 
typedef chrono::time_point< system_clocktime_point
 

Static Public Member Functions

static time_point now () _NOEXCEPT
 
static time_t to_time_t (const time_point &_Time) _NOEXCEPT
 
static time_point from_time_t (time_t _Tm) _NOEXCEPT
 

Static Public Attributes

static const bool is_monotonic = false
 
static const bool is_steady = false
 

Member Typedef Documentation

Member Function Documentation

static time_point chrono::system_clock::from_time_t ( time_t  _Tm)
inlinestatic
716  { // convert from time_t
718  }
#define _XTIME_TICKS_PER_TIME_T
Definition: xtimec.h:34
chrono::time_point< system_clock > time_point
Definition: chrono:699
chrono::duration< rep, period > duration
Definition: chrono:698
static time_point chrono::system_clock::now ( )
inlinestatic
704  { // get current time
705  return (time_point(duration(_Xtime_get_ticks())));
706  }
_CRTIMP2_PURE _LONGLONG __cdecl _Xtime_get_ticks()
chrono::time_point< system_clock > time_point
Definition: chrono:699
chrono::duration< rep, period > duration
Definition: chrono:698
static time_t chrono::system_clock::to_time_t ( const time_point _Time)
inlinestatic
710  { // convert to time_t
711  return ((time_t)(_Time.time_since_epoch().count()
713  }
__time64_t time_t
Definition: crtdefs.h:580
#define _XTIME_TICKS_PER_TIME_T
Definition: xtimec.h:34

Member Data Documentation

const bool chrono::system_clock::is_monotonic = false
static
const bool chrono::system_clock::is_steady = false
static

The documentation for this struct was generated from the following file: