NewsFeaturesDownloadsDevelopmentSupportAbout Us

Package play


Classes

class  WorkerThread
class  ScriptParser

Functions

def timer_callback

Variables

int DEFAULT_THREADS = 1
tuple parser = OptionParser()
tuple loader = ScriptParser( options.filename )
list pool = []
float seconds_wait = 1000.0
 logdata = False
tuple time_start = time.time()
tuple thread = WorkerThread( t, loader.data, seconds_wait )
tuple callback = Timer( options.run_time, timer_callback )
float total_average_time = 0.0
float total_max_time = 0.0
float total_min_time = 99999999.0
int total_requests = 0
int total_gets = 0
int total_posts = 0
tuple time_end = time.time()
tuple f = open( options.outfile + ".csv", "w" )
tuple line = str( t.id )
string filename = "_"
tuple td = open( filename, "w" )
tuple string = str( req['id'] )
tuple total_time = (time_end - time_start)
 reqs_per_sec = total_requests/total_time

Function Documentation

def play.timer_callback (  ) 

Definition at line 165 of file play.py.


Variable Documentation

tuple play.callback = Timer( options.run_time, timer_callback )

Definition at line 226 of file play.py.

Definition at line 16 of file play.py.

tuple play.f = open( options.outfile + ".csv", "w" )

tuple play.line = str( t.id )

Definition at line 267 of file play.py.

Referenced by PatternLayout.format(), and LoggedMessage.getLocationInfo().

tuple play.loader = ScriptParser( options.filename )

Definition at line 187 of file play.py.

play.logdata = False

Definition at line 203 of file play.py.

list play.pool = []

Definition at line 195 of file play.py.

Definition at line 295 of file play.py.

float play.seconds_wait = 1000.0

Definition at line 200 of file play.py.

tuple play.td = open( filename, "w" )

Definition at line 275 of file play.py.

tuple play.thread = WorkerThread( t, loader.data, seconds_wait )

Definition at line 213 of file play.py.

tuple play.time_end = time.time()

Definition at line 242 of file play.py.

tuple play.time_start = time.time()

Definition at line 209 of file play.py.

Definition at line 232 of file play.py.

Definition at line 236 of file play.py.

Definition at line 233 of file play.py.

play.total_min_time = 99999999.0

Definition at line 234 of file play.py.

Definition at line 237 of file play.py.

Definition at line 235 of file play.py.

Definition at line 292 of file play.py.