Class bench

Description

BuddyServ IRC Services

Benchmark class

Located in /includes/class/Class.bench.php (line 22)


	
			
Method Summary
void __construct (string $name, [int $step = 1])
float duration ()
void reset ()
void start ()
void stop ()
Methods
Constructor __construct (line 38)

Accepts a name and stepping type, 1 = microtime(), 0 = time()

void __construct (string $name, [int $step = 1])
  • string $name
  • int $step
duration (line 84)

Returns the passed duration

float duration ()
reset (line 99)

Reset benchmark counts.

void reset ()
start (line 53)

Start the benchmark

void start ()
stop (line 67)

Stop the benchmark

void stop ()

Documentation generated on Thu, 19 Nov 2009 20:25:06 -0700 by phpDocumentor 1.4.1