ClockInterface.php
Same filename in this branch
Namespace
OpenTelemetry\API\Common\TimeFile
-
vendor/
open-telemetry/ api/ Common/ Time/ ClockInterface.php
View source
<?php
declare (strict_types=1);
namespace OpenTelemetry\API\Common\Time;
interface ClockInterface {
public const NANOS_PER_SECOND = 1000000000;
public const NANOS_PER_MILLISECOND = 1000000;
public const NANOS_PER_MICROSECOND = 1000;
/**
* Returns the current epoch wall-clock timestamp in nanoseconds
*/
public function now() : int;
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
ClockInterface |