mTimer[$timer] = $this->parseMicro( microtime() ); } function stop( $timer = 'default' ) { return $this->current( $timer ); } function elapsed( $timer = 'default' ) { return $this->parseMicro( microtime() ) - $this->mTimer[$timer]; } } /** * Create timer */ global $gBitTimer; $gBitTimer = new BitTimer(); $gBitTimer->start(); ?>