interface ClockInterface
Same name in this branch
- 11.1.x vendor/open-telemetry/sdk/Common/Time/ClockInterface.php \OpenTelemetry\SDK\Common\Time\ClockInterface
Hierarchy
- interface \OpenTelemetry\API\Common\Time\ClockInterface
Expanded class hierarchy of ClockInterface
All classes that implement ClockInterface
10 files declare their use of ClockInterface
- AutoRootSpan.php in vendor/
open-telemetry/ sdk/ Trace/ AutoRootSpan.php - BatchLogRecordProcessor.php in vendor/
open-telemetry/ sdk/ Logs/ Processor/ BatchLogRecordProcessor.php - BatchSpanProcessor.php in vendor/
open-telemetry/ sdk/ Trace/ SpanProcessor/ BatchSpanProcessor.php - ClockFactory.php in vendor/
open-telemetry/ sdk/ Common/ Time/ ClockFactory.php - DelayedStalenessHandlerFactory.php in vendor/
open-telemetry/ sdk/ Metrics/ StalenessHandler/ DelayedStalenessHandlerFactory.php
File
-
vendor/
open-telemetry/ api/ Common/ Time/ ClockInterface.php, line 7
Namespace
OpenTelemetry\API\Common\TimeView source
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;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ClockInterface::NANOS_PER_MICROSECOND | public | constant | ||
ClockInterface::NANOS_PER_MILLISECOND | public | constant | ||
ClockInterface::NANOS_PER_SECOND | public | constant | ||
ClockInterface::now | public | function | Returns the current epoch wall-clock timestamp in nanoseconds | 2 |