Provides trace event data specific to a thread and a process.
Public Constructors | |
| trace_event_cache ()=default | |
| Initializes a new instance of the trace_event_cache class. | |
Public Properties | |
| auto | call_stack () const noexcept -> xtd::string |
| Gets the call stack for the current thread. | |
| auto | date_time () const noexcept -> const xtd::date_time & |
| Gets the date and time at which the event trace occurred. | |
| auto | logical_operation_stack () const noexcept -> xtd::array< xtd::string > |
| Gets the correlation data, contained in a stack. | |
| auto | process_id () const noexcept -> xtd::int32 |
| Gets the unique identifier of the current process. | |
| auto | thread_id () const noexcept -> xtd::string |
| Gets a unique identifier for the current managed thread. | |
| auto | timestamp () const noexcept -> std::chrono::nanoseconds |
| Gets the current number of ticks in the timer mechanism. | |
| auto | timestamp_milliseconds () const noexcept -> xtd::int64 |
| Gets the current number of ticks in the timer mechanism, in milliseconds. | |
| auto | timestamp_nanoseconds () const noexcept -> xtd::int64 |
| Gets the current number of ticks in the timer mechanism, in nanoseconds. | |
| auto | timestamp_ticks () const noexcept -> xtd::int64 |
| Gets the current number of ticks in the timer mechanism, in nanoseconds. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | equals (const object &obj) const noexcept -> bool |
| Determines whether the specified object is equal to the current object. | |
| virtual auto | get_hash_code () const noexcept -> xtd::usize |
| Serves as a hash function for a particular type. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | to_string () const -> xtd::string |
| Returns a xtd::string that represents the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
default |
Initializes a new instance of the trace_event_cache class.
|
nodiscardnoexcept |
Gets the call stack for the current thread.
|
nodiscardnoexcept |
Gets the date and time at which the event trace occurred.
|
nodiscardnoexcept |
Gets the correlation data, contained in a stack.
|
nodiscardnoexcept |
Gets the unique identifier of the current process.
|
nodiscardnoexcept |
Gets a unique identifier for the current managed thread.
|
nodiscardnoexcept |
Gets the current number of ticks in the timer mechanism.
|
nodiscardnoexcept |
Gets the current number of ticks in the timer mechanism, in milliseconds.
|
nodiscardnoexcept |
Gets the current number of ticks in the timer mechanism, in nanoseconds.
|
nodiscardnoexcept |
Gets the current number of ticks in the timer mechanism, in nanoseconds.