Flutter Engine
The Flutter Engine
Namespaces | Functions
cpu_affinity.cc File Reference
#include "flutter/fml/cpu_affinity.h"
#include "flutter/fml/build_config.h"
#include <fstream>
#include <optional>
#include <string>

Go to the source code of this file.

Namespaces

namespace  fml
 

Functions

std::optional< size_t > fml::EfficiencyCoreCount ()
 Request count of efficiency cores. More...
 
bool fml::RequestAffinity (CpuAffinity affinity)
 Request the given affinity for the current thread. More...
 
std::optional< int64_t > fml::ReadIntFromFile (const std::string &path)