Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 
bool fml::RequestAffinity (CpuAffinity affinity)
 Request the given affinity for the current thread.
 
std::optional< int64_t > fml::ReadIntFromFile (const std::string &path)