Rosetta 3.3
Public Member Functions | Static Public Member Functions
Benchmark Class Reference

#include <benchmark.hh>

Inheritance diagram for Benchmark:
Inheritance graph
[legend]
Collaboration diagram for Benchmark:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Benchmark (std::string name)
virtual ~Benchmark ()
virtual void setUp ()
virtual void run (int)
virtual void tearDown ()
double execute (int scaleFactor)
std::string name ()

Static Public Member Functions

static void executeAllBenchmarks (int scaleFactor=1)
static std::string getReport ()

Constructor & Destructor Documentation

Benchmark::Benchmark ( std::string  name) [inline]

References color_pdb::i.

virtual Benchmark::~Benchmark ( ) [inline, virtual]

Member Function Documentation

double Benchmark::execute ( int  scaleFactor)

Execute benchmark cycle i.e.: setUp() - run() - tearDown() return number of seconds that was used to performe 'run' step.

References numeric::random::_RND_TestRun_, numeric::random::RandomGenerator::initializeRandomGenerators(), name, basic::options::OptionKeys::run::run, sd::t, and TR.

Referenced by executeAllBenchmarks().

void Benchmark::executeAllBenchmarks ( int  scaleFactor = 1) [static]
std::string Benchmark::getReport ( ) [static]

Generting report file in python dict format: i.e: { 'Bench1': 1.5, 'Bench2': 1.6 }

References basic::options::OptionKeys::out::path::all, color_pdb::i, and color_pdb::res.

Referenced by main().

std::string Benchmark::name ( ) [inline]
virtual void Benchmark::run ( int  ) [inline, virtual]
virtual void Benchmark::setUp ( ) [inline, virtual]
virtual void Benchmark::tearDown ( ) [inline, virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines