Struct time_ticks_t
Defined in File EventProperty.hpp
Struct Documentation
-
struct Microsoft::Applications::Events::time_ticks_t
The time_ticks_t structure encapsulates time in .NET ticks.
A single tick represents one hundred nanoseconds, or one ten-millionth of a second. There are 10,000 ticks in a millisecond, or 10 million ticks in a second. The value of this property represents the number of 100 nanosecond intervals that have elapsed since 12:00 AM, January, 1, 0001 (0:00 : 00 UTC on January 1, 0001, in the Gregorian calendar), which represents DateTime.MinValue. Note: This does not include the number of ticks that are attributable to leap seconds.
Public Functions
-
time_ticks_t()
The default constructor for instantiating an empty time_ticks_t object.
-
time_ticks_t(uint64_t raw)
Converts the number of .NET ticks into an instance of the time_ticks_t structure.
-
time_ticks_t(const std::time_t *time)
Constructs a time_ticks_t object from a pointer to a time_t object from the standard library.
Note: time_t time must contain a timestamp in UTC time.
-
time_ticks_t(const time_ticks_t &t)
The time_ticks_t copy constructor.
-
time_ticks_t(time_ticks_t &&t) noexcept
The time_ticks_t move constructor.
-
time_ticks_t &operator=(const time_ticks_t &t) noexcept
The time_ticks_t copy assignment operator.
-
time_ticks_t &operator=(time_ticks_t &&t) noexcept
The time_ticks_t move assignment operator.
Public Members
-
uint64_t ticks
A raw 64-bit unsigned integer that represents the number of .NET ticks.
-
time_ticks_t()