You are here

public function SensorResultInterface::setExecutionTime in Monitoring 8

Same name and namespace in other branches
  1. 7 lib/Drupal/monitoring/Result/SensorResultInterface.php \Drupal\monitoring\Result\SensorResultInterface::setExecutionTime()

Sets sensor execution time in ms.

Parameters

float $time: Sensor execution time in ms.

1 method overrides SensorResultInterface::setExecutionTime()
SensorResult::setExecutionTime in src/Result/SensorResult.php
Sets sensor execution time in ms.

File

src/Result/SensorResultInterface.php, line 99
Contains \Drupal\monitoring\Result\SensorResultInterface.

Class

SensorResultInterface
Interface for a sensor result.

Namespace

Drupal\monitoring\Result

Code

public function setExecutionTime($time);