Flutter Engine
The Flutter Engine
cpu.h
Go to the documentation of this file.
1// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_VM_CPU_H_
6#define RUNTIME_VM_CPU_H_
7
8#include "vm/allocation.h"
9#include "vm/globals.h"
10
11namespace dart {
12
13// Forward Declarations.
14class Error;
15class Instance;
16
17class CPU : public AllStatic {
18 public:
19 static void FlushICache(uword start, uword size);
20 static const char* Id();
21};
22
23} // namespace dart
24
25#if defined(TARGET_ARCH_IA32)
26#include "vm/cpu_ia32.h"
27#elif defined(TARGET_ARCH_X64)
28#include "vm/cpu_x64.h"
29#elif defined(TARGET_ARCH_ARM)
30#include "vm/cpu_arm.h"
31#elif defined(TARGET_ARCH_ARM64)
32#include "vm/cpu_arm64.h"
33#elif defined(TARGET_ARCH_RISCV32) || defined(TARGET_ARCH_RISCV64)
34#include "vm/cpu_riscv.h"
35#else
36#error Unknown architecture.
37#endif
38
39#endif // RUNTIME_VM_CPU_H_
Definition: cpu.h:17
static const char * Id()
static void FlushICache(uword start, uword size)
Definition: dart_vm.cc:33
uintptr_t uword
Definition: globals.h:501
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259