You are here

public function SensorResultInterface::setExecutionTime in Monitoring 7

Same name and namespace in other branches
  1. 8 src/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 lib/Drupal/monitoring/Result/SensorResult.php
Sets sensor execution time in ms.

File

lib/Drupal/monitoring/Result/SensorResultInterface.php, line 181
Contains \Drupal\monitoring\Result\SensorResultInterface.

Class

SensorResultInterface
Interface for a sensor result.

Namespace

Drupal\monitoring\Result

Code

public function setExecutionTime($time);