Flutter Engine
The Flutter Engine
runtime
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
11
class
DartVMInitializer
{
12
public
:
13
static
void
Initialize
(
Dart_InitializeParams
*
params
,
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,
24
Dart_Timeline_Event_Type
type
,
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_
type
GLenum type
Definition:
blit_command_gles.cc:126
DartVMInitializer
Definition:
dart_vm_initializer.h:11
DartVMInitializer::Initialize
static void Initialize(Dart_InitializeParams *params, bool enable_timeline_event_handler, bool trace_systrace)
Definition:
dart_vm_initializer.cc:82
DartVMInitializer::Cleanup
static void Cleanup()
Definition:
dart_vm_initializer.cc:113
Dart_Timeline_Event_Type
Dart_Timeline_Event_Type
Definition:
dart_tools_api.h:342
params
const EmbeddedViewParams * params
Definition:
embedder_external_view_embedder.cc:138
argument_count
int argument_count
Definition:
fuchsia.cc:52
Dart_InitializeParams
Definition:
dart_api.h:899
Generated on Sun Jun 23 2024 21:55:07 for Flutter Engine by
1.9.4