struct Action

Defined at line 15 of file ../../src/testing/loadbench/action.h

Abstract base for actions that worker threads can perform.

Public Methods

void Perform (Worker * worker)

Performs the action by/on the given worker.

std::unique_ptr<Action> Copy ()

Copies the action. Copy is only called prior to the invocation of Setup().

void ~Action ()

Defined at line 16 of file ../../src/testing/loadbench/action.h

void Setup (Worker * worker)

Performs one-time setup of this action on its host worker. The same Worker

instance that is passed to this method is passed to each subsequent

invocation of Perform().

Defined at line 21 of file ../../src/testing/loadbench/action.h