MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.cluster.benchmark.tws.Driver Class Reference
Inheritance diagram for com.mysql.cluster.benchmark.tws.Driver:
Collaboration diagram for com.mysql.cluster.benchmark.tws.Driver:

Public Member Functions

 Driver ()
void run ()

Static Public Member Functions

static void parseArguments (String[] args)

Protected Member Functions

void init () throws Exception
void close () throws Exception
boolean parseBoolean (String k, boolean vdefault)
int parseInt (String k, int vdefault)
void initProperties ()
void printProperties ()
abstract void runTests () throws Exception
void clearLogBuffers ()
void writeLogBuffers (String descr)
void begin (String name)
void finish (String name)

Static Protected Member Functions

static void exitUsage ()
static void loadSystemLibrary (String name)

Protected Attributes

final Properties props = new Properties()
boolean logRealTime
boolean logMemUsage
boolean includeFullGC
int warmupRuns
PrintWriter log
boolean logHeader
StringBuilder header
StringBuilder rtimes
StringBuilder musage
long t0 = 0
long m0 = 0

Static Protected Attributes

static final PrintWriter out = new PrintWriter(System.out, true)
static final PrintWriter err = new PrintWriter(System.err, true)
static final String endl = System.getProperty("line.separator")
static final Runtime rt = Runtime.getRuntime()

Detailed Description

Definition at line 35 of file Driver.java.

Constructor & Destructor Documentation

com.mysql.cluster.benchmark.tws.Driver.Driver ( )
inline

Creates an instance.

Definition at line 118 of file Driver.java.

Member Function Documentation

static void com.mysql.cluster.benchmark.tws.Driver.exitUsage ( )
inlinestaticprotected

Prints a command-line usage message and exits.

Definition at line 72 of file Driver.java.

Here is the caller graph for this function:

static void com.mysql.cluster.benchmark.tws.Driver.parseArguments ( String[]  args)
inlinestatic

Parses the benchmark's command-line arguments.

Definition at line 84 of file Driver.java.

Here is the call graph for this function:

void com.mysql.cluster.benchmark.tws.Driver.run ( )
inline

Runs the benchmark.

Definition at line 123 of file Driver.java.


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