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

Public Types

typedef long long 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 __time64_t to_time_t (const time_point &_Time) _NOEXCEPT
 
static time_point from_time_t (__time64_t _Tm) _NOEXCEPT
 

Static Public Attributes

static constexpr bool is_steady = false
 

Member Typedef Documentation

Member Function Documentation

static time_point chrono::system_clock::from_time_t ( __time64_t  _Tm)
inlinestatic
988  { // convert from __time64_t
990  }
#define _XTIME_TICKS_PER_TIME_T
Definition: xtimec.h:31
chrono::time_point< system_clock > time_point
Definition: chrono:973
chrono::duration< rep, period > duration
Definition: chrono:972
_In_ struct tm const * _Tm
Definition: corecrt_wtime.h:53
static time_point chrono::system_clock::now ( )
inlinestatic
977  { // get current time
978  return (time_point(duration(_Xtime_get_ticks())));
979  }
_CRTIMP2_PURE long long __cdecl _Xtime_get_ticks(void)
chrono::time_point< system_clock > time_point
Definition: chrono:973
chrono::duration< rep, period > duration
Definition: chrono:972
static __time64_t chrono::system_clock::to_time_t ( const time_point _Time)
inlinestatic
982  { // convert to __time64_t
983  return ((__time64_t)(_Time.time_since_epoch().count()
985  }
#define _XTIME_TICKS_PER_TIME_T
Definition: xtimec.h:31
__int64 __time64_t
Definition: corecrt.h:480

Member Data Documentation

constexpr bool chrono::system_clock::is_steady = false
static

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