public function endMeasuring($type, $hash, $tags, $sql, $parameters)
    {
        $name = '[' .  ucfirst($type) . '] ' . $sql;
        $endTime = microtime(true);

        $params = [
            'hash'       => $hash,
            'tags'       => $tags,
            'parameters' => $parameters,
        ];

        $this->addMeasure($name, $this->startTime, $endTime, $params);
    }