TeamSpeak3/Helper/Profiler/Timer.php
public function stop()
    {
        if (!$this->isRunning()) {
            return;
        }

        $this->data["runtime"] += microtime(true) - $this->started;
        $this->data["realmem"] += memory_get_usage(true) - $this->data["realmem_start"];
        $this->data["emalloc"] += memory_get_usage() - $this->data["emalloc_start"];

        $this->started = 0;
        $this->running = false;
    }
public function stop()
    {
        if (!$this->isRunning()) {
            return;
        }

        $this->data["runtime"] += microtime(true) - $this->started;
        $this->data["realmem"] += memory_get_usage(true) - $this->data["realmem_start"];
        $this->data["emalloc"] += memory_get_usage() - $this->data["emalloc_start"];

        $this->started = 0;
        $this->running = false;
    }
public function stop ( ) { if ( ! $ this -> isRunning ( ) ) { return ; } $ this -> data [ "runtime" ] += microtime ( true ) - $ this -> started ; $ this -> data [ "realmem" ] += memory_get_usage ( true ) - $ this -> data [ "realmem_start" ] ; $ this -> data [ "emalloc" ] += memory_get_usage ( ) - $ this -> data [ "emalloc_start" ] ; $ this -> started = 0 ; $ this -> running = false ; }
Stops the timer.

@return void
Stops the timer .