Flutter Engine
The Flutter Engine
|
Public Member Functions | |
NonRenderingBenchmarkTarget (Benchmark *benchmark) | |
Benchmark::Backend | getBackend () const override |
SurfaceManager::CpuOrGpu | isCpuOrGpuBound () const override |
std::map< std::string, std::string > | getKeyValuePairs (std::string cpuName, std::string gpuName) const override |
Public Member Functions inherited from RasterBenchmarkTarget | |
RasterBenchmarkTarget (std::unique_ptr< SurfaceManager > surfaceManager, Benchmark *benchmark) | |
Benchmark::Backend | getBackend () const override |
std::tuple< int, bool > | autoTuneLoops () const override |
Public Member Functions inherited from BenchmarkTarget | |
virtual | ~BenchmarkTarget ()=default |
virtual Benchmark::Backend | getBackend () const =0 |
virtual void | setup () const |
virtual std::tuple< int, bool > | autoTuneLoops () const =0 |
virtual void | warmUp (int loops) const |
double | time (int loops) const |
void | tearDown () const |
virtual void | dumpStats (skia_private::TArray< SkString > *keys, skia_private::TArray< double > *values) const |
virtual void | printStats () const |
SkCanvas * | getCanvas () const |
Benchmark * | getBenchmark () const |
virtual std::map< std::string, std::string > | getKeyValuePairs (std::string cpuName, std::string gpuName) const |
virtual SurfaceManager::CpuOrGpu | isCpuOrGpuBound () const |
Additional Inherited Members | |
Static Public Member Functions inherited from BenchmarkTarget | |
static std::unique_ptr< BenchmarkTarget > | FromConfig (std::string surfaceConfig, Benchmark *benchmark) |
static void | printGlobalStats () |
Protected Member Functions inherited from BenchmarkTarget | |
BenchmarkTarget (std::unique_ptr< SurfaceManager > surfaceManager, Benchmark *benchmark) | |
virtual SkCanvas * | onBeforeDraw (SkCanvas *canvas) const |
virtual void | onAfterDraw () const |
double | nowMs () const |
Protected Attributes inherited from BenchmarkTarget | |
std::unique_ptr< SurfaceManager > | fSurfaceManager |
Benchmark * | fBenchmark |
Definition at line 85 of file RasterBenchmarkTarget.cpp.
|
inline |
Definition at line 87 of file RasterBenchmarkTarget.cpp.
|
inlineoverridevirtual |
Reimplemented from RasterBenchmarkTarget.
Definition at line 89 of file RasterBenchmarkTarget.cpp.
|
inlineoverridevirtual |
Reimplemented from BenchmarkTarget.
Definition at line 95 of file RasterBenchmarkTarget.cpp.
|
inlineoverridevirtual |
Reimplemented from BenchmarkTarget.
Definition at line 91 of file RasterBenchmarkTarget.cpp.