webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ANGLEPerfTest Class Referenceabstract

#include <ANGLEPerfTest.h>

Inheritance diagram for ANGLEPerfTest:
testing::Test angle::NonCopyable ANGLERenderTest angle::TexturesBenchmark

Public Member Functions

 ANGLEPerfTest (const std::string &name, const std::string &suffix)
 
virtual ~ANGLEPerfTest ()
 
virtual void step ()=0
 
virtual void finishTest ()
 

Protected Member Functions

void run ()
 
void printResult (const std::string &trace, double value, const std::string &units, bool important) const
 
void printResult (const std::string &trace, size_t value, const std::string &units, bool important) const
 
void SetUp () override
 
void TearDown () override
 
double normalizedTime (size_t value) const
 
void abortTest ()
 
unsigned int getNumStepsPerformed () const
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

std::string mName
 
std::string mSuffix
 
TimermTimer
 
double mRunTimeSeconds
 

Constructor & Destructor Documentation

◆ ANGLEPerfTest()

ANGLEPerfTest::ANGLEPerfTest ( const std::string name,
const std::string suffix 
)

◆ ~ANGLEPerfTest()

ANGLEPerfTest::~ANGLEPerfTest ( )
virtual

Member Function Documentation

◆ abortTest()

void ANGLEPerfTest::abortTest ( )
inlineprotected

◆ finishTest()

virtual void ANGLEPerfTest::finishTest ( )
inlinevirtual

◆ getNumStepsPerformed()

unsigned int ANGLEPerfTest::getNumStepsPerformed ( ) const
inlineprotected

◆ normalizedTime()

double ANGLEPerfTest::normalizedTime ( size_t  value) const
protected

◆ printResult() [1/2]

void ANGLEPerfTest::printResult ( const std::string trace,
double  value,
const std::string units,
bool  important 
) const
protected

◆ printResult() [2/2]

void ANGLEPerfTest::printResult ( const std::string trace,
size_t  value,
const std::string units,
bool  important 
) const
protected

◆ run()

void ANGLEPerfTest::run ( )
protected

◆ SetUp()

void ANGLEPerfTest::SetUp ( )
overrideprotectedvirtual

Reimplemented from testing::Test.

◆ step()

virtual void ANGLEPerfTest::step ( )
pure virtual

◆ TearDown()

void ANGLEPerfTest::TearDown ( )
overrideprotectedvirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ mName

std::string ANGLEPerfTest::mName
protected

◆ mRunTimeSeconds

double ANGLEPerfTest::mRunTimeSeconds
protected

◆ mSuffix

std::string ANGLEPerfTest::mSuffix
protected

◆ mTimer

Timer* ANGLEPerfTest::mTimer
protected

The documentation for this class was generated from the following files: