#include <timeline.h>
Definition at line 86 of file timeline.h.
◆ TimelineStream()
dart::TimelineStream::TimelineStream |
( |
const char * |
name, |
|
|
const char * |
fuchsia_name, |
|
|
bool |
static_labels, |
|
|
bool |
enabled |
|
) |
| |
◆ enabled()
bool dart::TimelineStream::enabled |
( |
| ) |
|
|
inline |
Definition at line 96 of file timeline.h.
96 {
97#if defined(DART_HOST_OS_FUCHSIA)
98#ifdef PRODUCT
99 return trace_is_category_enabled(fuchsia_name_);
100#else
101 return trace_is_category_enabled(fuchsia_name_) || enabled_ != 0;
102#endif
103#else
104 return enabled_ != 0;
105#endif
106 }
◆ enabled_offset()
static intptr_t dart::TimelineStream::enabled_offset |
( |
| ) |
|
|
inlinestatic |
Definition at line 114 of file timeline.h.
114 {
116 }
TimelineStream(const char *name, const char *fuchsia_name, bool static_labels, bool enabled)
#define OFFSET_OF(type, field)
◆ fuchsia_name()
const char * dart::TimelineStream::fuchsia_name |
( |
| ) |
const |
|
inline |
Definition at line 94 of file timeline.h.
94{ return fuchsia_name_; }
◆ name()
const char * dart::TimelineStream::name |
( |
| ) |
const |
|
inline |
◆ set_enabled()
void dart::TimelineStream::set_enabled |
( |
bool |
enabled | ) |
|
|
inline |
◆ StartEvent()
TimelineEvent * dart::TimelineStream::StartEvent |
( |
| ) |
|
The documentation for this class was generated from the following file: