#include <dart_vm_initializer.h>
Definition at line 11 of file dart_vm_initializer.h.
◆ Cleanup()
void DartVMInitializer::Cleanup |
( |
| ) |
|
|
static |
Definition at line 113 of file dart_vm_initializer.cc.
113 {
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133 gDartInitialized = false;
134
139 }
140}
DART_EXPORT DART_WARN_UNUSED_RESULT char * Dart_Cleanup(void)
const uint8_t uint32_t uint32_t GError ** error
#define FML_LOG(severity)
#define FML_DCHECK(condition)
◆ Initialize()
void DartVMInitializer::Initialize |
( |
Dart_InitializeParams * |
params, |
|
|
bool |
enable_timeline_event_handler, |
|
|
bool |
trace_systrace |
|
) |
| |
|
static |
Definition at line 82 of file dart_vm_initializer.cc.
84 {
86
91 } else {
92 gDartInitialized = true;
93 }
94
95 if (enable_timeline_event_handler) {
96 if (!trace_systrace) {
97
98
99
100
102 } else {
104 []() -> int64_t { return -1; });
105 }
107 }
108
111}
static void SetClockSource(ClockSource source)
DART_EXPORT DART_WARN_UNUSED_RESULT char * Dart_Initialize(Dart_InitializeParams *params)
const EmbeddedViewParams * params
fml::TimePoint DartTimelineTicksSinceEpoch()
void TraceSetTimelineEventHandler(TimelineEventHandler handler)
void TraceSetTimelineMicrosSource(TimelineMicrosSource source)
void SetUnhandledExceptionReporter(DartError::UnhandledExceptionReporter reporter)
The documentation for this class was generated from the following files: