WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

ActionScheduler_Abstract_QueueRunner::get_execution_time() WC 1.0

Get the number of seconds the process has been running.

Это метод класса: ActionScheduler_Abstract_QueueRunner

Хуки из метода
Возвращает

Число. The number of seconds.

Использование

$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner();
$var = $ActionScheduler_Abstract_QueueRunner->get_execution_time();

Код ActionScheduler Abstract QueueRunner::get execution time: woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_Abstract_QueueRunner.php WC 3.7.1

<?php
protected function get_execution_time() {
	$execution_time = microtime( true ) - $this->created_time;

	// Get the CPU time if the hosting environment uses it rather than wall-clock time to calculate a process's execution time.
	if ( function_exists( 'getrusage' ) && apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ) ) {
		$resource_usages = getrusage();

		if ( isset( $resource_usages['ru_stime.tv_usec'], $resource_usages['ru_stime.tv_usec'] ) ) {
			$execution_time = $resource_usages['ru_stime.tv_sec'] + ( $resource_usages['ru_stime.tv_usec'] / 1000000 );
		}
	}

	return $execution_time;
}