Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Functions | Variables
GaneshBenchmarkTarget.cpp File Reference
#include "bench/Benchmark.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GrRecordingContext.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "tools/flags/CommandLineFlags.h"
#include "tools/gpu/GrContextFactory.h"
#include "tools/gpu/TestContext.h"
#include "tools/testrunners/benchmark/target/BenchmarkTarget.h"
#include "tools/testrunners/common/TestRunner.h"
#include "tools/testrunners/common/surface_manager/SurfaceManager.h"

Go to the source code of this file.

Classes

class  GaneshBenchmarkTarget
 

Functions

static DEFINE_double (gpuMs, 5, "While auto-tuning the number of benchmark runs per sample, increase the number of runs " "until a single sample takes this many milliseconds. Do this for each benchmark.")
 
static DEFINE_bool (gpuStats, false, "Print GPU stats after each GPU benchmark.")
 
static DEFINE_bool (gpuStatsDump, false, "Dump GPU stats after each benchmark into the " "results.json output file, which can be ingested by Perf.")
 
static DEFINE_bool (dmsaaStatsDump, false, "Dump DMSAA stats after each benchmark into the " "results.json output file, which can be ingested by Perf.")
 

Variables

static constexpr int ESTIMATED_GPU_FRAME_LAG = 5
 
GrRecordingContextPriv::DMSAAStats combinedDMSAAStats
 

Function Documentation

◆ DEFINE_bool() [1/3]

static DEFINE_bool ( dmsaaStatsDump  ,
false  ,
"Dump DMSAA stats after each benchmark into the " "results.json output  file,
which can be ingested by Perf."   
)
static

◆ DEFINE_bool() [2/3]

static DEFINE_bool ( gpuStats  ,
false  ,
"Print GPU stats after each GPU benchmark."   
)
static

◆ DEFINE_bool() [3/3]

static DEFINE_bool ( gpuStatsDump  ,
false  ,
"Dump GPU stats after each benchmark into the " "results.json output  file,
which can be ingested by Perf."   
)
static

◆ DEFINE_double()

static DEFINE_double ( gpuMs  ,
,
"While auto-tuning the number of benchmark runs per  sample,
increase the number of runs " "until a single sample takes this many milliseconds. Do this for each benchmark."   
)
static

Variable Documentation

◆ combinedDMSAAStats

GrRecordingContextPriv::DMSAAStats combinedDMSAAStats

Definition at line 51 of file GaneshBenchmarkTarget.cpp.

◆ ESTIMATED_GPU_FRAME_LAG

constexpr int ESTIMATED_GPU_FRAME_LAG = 5
staticconstexpr

Definition at line 49 of file GaneshBenchmarkTarget.cpp.