Flutter Engine
The Flutter Engine
|
Public Member Functions | |
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 27 of file RasterBenchmarkTarget.cpp.
|
inline |
Definition at line 29 of file RasterBenchmarkTarget.cpp.
|
inlineoverridevirtual |
Implements BenchmarkTarget.
Definition at line 36 of file RasterBenchmarkTarget.cpp.
|
inlineoverridevirtual |
Implements BenchmarkTarget.
Reimplemented in NonRenderingBenchmarkTarget.
Definition at line 32 of file RasterBenchmarkTarget.cpp.