wpdb::timer_stop(): float

Stops the debugging timer.


Return

float Total time spent on the query, in seconds.


Top ↑

Source

File: wp-includes/wp-db.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.