![]() |
MySQL 9.4.0
Source Code Documentation
|
#include <trace_span.h>
Public Types | |
| enum class | StatusCode { kUnset , kOk , kError } |
| using | element_type = std::pair< std::string, std::variant< std::monostate, int64_t, bool, std::string > > |
| using | attributes_type = std::vector< element_type > |
Public Member Functions | |
| TraceEvent (std::string name_, attributes_type attrs_) | |
| TraceEvent (std::string name_) | |
Public Attributes | |
| std::chrono::system_clock::time_point | start_time_system |
| std::chrono::steady_clock::time_point | start_time |
| std::chrono::steady_clock::time_point | end_time |
| std::list< TraceEvent > | events |
| std::string | name |
| attributes_type | attrs |
| StatusCode | status_code {StatusCode::kUnset} |
| using TraceEvent::attributes_type = std::vector<element_type> |
| using TraceEvent::element_type = std::pair<std::string, std::variant<std::monostate, int64_t, bool, std::string> > |
|
strong |
|
inline |
|
inline |
| attributes_type TraceEvent::attrs |
| std::chrono::steady_clock::time_point TraceEvent::end_time |
| std::list<TraceEvent> TraceEvent::events |
| std::string TraceEvent::name |
| std::chrono::steady_clock::time_point TraceEvent::start_time |
| std::chrono::system_clock::time_point TraceEvent::start_time_system |
| StatusCode TraceEvent::status_code {StatusCode::kUnset} |