10 #include "../ustring.h"
15 namespace diagnostics {
25 using clock = std::chrono::system_clock;
66 mutable clock::time_point date_time_ = clock::time_point::min();
Provides trace event data specific to a thread and a process.
Definition: trace_event_cache.h:22
int64_t timestamp() const
Gets the current number of ticks in the timer mechanism.
std::vector< xtd::ustring > logical_operation_stack() const
Gets the correlation data, contained in a stack.
clock::time_point date_time() const
Gets the date and time at which the event trace occurred.
xtd::ustring thread_id() const
Gets a unique identifier for the current managed thread.
trace_event_cache()=default
Initializes a new instance of the trace_event_cache class.
xtd::ustring call_stack() const
Gets the call stack for the current thread.
int32_t process_id() const
Gets the unique identifier of the current process.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17