Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 
bool fml::AndroidRequestAffinity (CpuAffinity affinity)
 Android specific implementation of RequestAffinity.
 

Variables

std::once_flag fml::gCPUTrackerFlag
 
static CPUSpeedTrackerfml::gCPUTracker