SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWQEPerfTest Class Reference

#include <rw/rwtest/perf/RWQEPerfTest.h>

Public Member Functions

void destroy ()
 
void initialize (const RWQEPerfTestDef &)
 
uint64_t run ()
 
void setup ()
 
void teardown ()
 

Detailed Description

Prototype for a performance test object. Performance test objects must implement this API, however they are not required to derive from RWQEPerfTest.

Member Function Documentation

void RWQEPerfTest::destroy ( )
inline

Called once after executing the outer test loop.

void RWQEPerfTest::initialize ( const RWQEPerfTestDef )
inline

Called once before executing the outer test loop.

uint64_t RWQEPerfTest::run ( void  )
inline

The operation that will be timed. This function will be invoked multiple times, once for each iteration (both during warmup iterations and timed iterations). This function returns the number of times it executed the code, the performance of which is to be measured.

void RWQEPerfTest::setup ( )
inline

Called once for each execution of the inner test loop.

void RWQEPerfTest::teardown ( )
inline

Called once for each execution of the inner test loop.

Copyright © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.