Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
dart_vm_initializer.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_RUNTIME_DART_VM_INITIALIZER_H_
6#define FLUTTER_RUNTIME_DART_VM_INITIALIZER_H_
7
8#include "third_party/dart/runtime/include/dart_api.h"
9#include "third_party/dart/runtime/include/dart_tools_api.h"
10
12 public:
14 bool enable_timeline_event_handler,
15 bool trace_systrace);
16 static void Cleanup();
17
18 private:
19 static void LogDartTimelineEvent(const char* label,
20 int64_t timestamp0,
21 int64_t timestamp1_or_async_id,
22 intptr_t flow_id_count,
23 const int64_t* flow_ids,
25 intptr_t argument_count,
26 const char** argument_names,
27 const char** argument_values);
28};
29
30#endif // FLUTTER_RUNTIME_DART_VM_INITIALIZER_H_
static void Initialize(Dart_InitializeParams *params, bool enable_timeline_event_handler, bool trace_systrace)
Dart_Timeline_Event_Type
const EmbeddedViewParams * params
int argument_count
Definition fuchsia.cc:52