Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
cpu_affinity.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_FML_PLATFORM_ANDROID_CPU_AFFINITY_H_
6#define FLUTTER_FML_PLATFORM_ANDROID_CPU_AFFINITY_H_
7
8#include "flutter/fml/cpu_affinity.h"
9
10namespace fml {
11
12/// @brief Android specific implementation of EfficiencyCoreCount.
13std::optional<size_t> AndroidEfficiencyCoreCount();
14
15/// @brief Android specific implementation of RequestAffinity.
17
18} // namespace fml
19
20#endif // FLUTTER_FML_PLATFORM_ANDROID_CPU_AFFINITY_H_
CpuAffinity
std::optional< size_t > AndroidEfficiencyCoreCount()
Android specific implementation of EfficiencyCoreCount.
bool AndroidRequestAffinity(CpuAffinity affinity)
Android specific implementation of RequestAffinity.