Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SystemClock.php

function SystemClock::init

1 call to SystemClock::init()
SystemClock::__construct in vendor/open-telemetry/api/Common/Time/SystemClock.php

File

vendor/open-telemetry/api/Common/Time/SystemClock.php, line 33

Class

SystemClock
@internal OpenTelemetry

Namespace

OpenTelemetry\API\Common\Time

Code

private static function init() : void {
    if (self::$referenceTime > 0) {
        return;
    }
    self::$referenceTime = self::calculateReferenceTime(microtime(true), hrtime(true));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal