wpdb::timer_stop()

Stops the debugging timer.

Return

(float) Total time spent on the query, in seconds.

Source

File: wp-includes/wp-db.php

public function timer_stop() {
		return ( microtime( true ) - $this->time_start );
	}

Changelog

Version Description
1.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/timer_stop