Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
cpu_affinity.cc File Reference
#include "flutter/fml/platform/android/cpu_affinity.h"
#include <pthread.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <unistd.h>
#include <mutex>
#include <optional>
#include <thread>
#include "flutter/fml/logging.h"

Go to the source code of this file.

Namespaces

namespace  fml
 

Functions

void fml::InitCPUInfo (size_t cpu_count)
 
bool fml::SetUpCPUTracker ()
 
std::optional< size_t > fml::AndroidEfficiencyCoreCount ()
 Android specific implementation of EfficiencyCoreCount. More...
 
bool fml::AndroidRequestAffinity (CpuAffinity affinity)
 Android specific implementation of RequestAffinity. More...
 

Variables

std::once_flag fml::gCPUTrackerFlag
 
static CPUSpeedTracker * fml::gCPUTracker