classes/Tasks/BatchManager.php
public function lastUpdate($batch) {
        $lu = get_option("ilab_media_tools_{$batch}_last_update", 0);
        if ($lu > 0) {
            $lu = microtime(true) - $lu;
        }

        return $lu;
    }
public function lastUpdate($batch) {
        $lu = get_option("ilab_media_tools_{$batch}_last_update", 0);
        if ($lu > 0) {
            $lu = microtime(true) - $lu;
        }

        return $lu;
    }
public function lastUpdate ( $ batch ) { $ lu = get_option ( "ilab_media_tools_{$batch}_last_update" , 0 ) ; if ( $ lu > 0 ) { $ lu = microtime ( true ) - $ lu ; } return $ lu ; }
Returns the amount of time that has elapsed since the last item was processed.
@param $batch
@return float
Returns the amount of time that has elapsed since the last item was processed .