ClockInterface
extends
ClockInterface
in
Use OpenTelemetry\API\Common\Time\ClockInterface
Table of Contents
Constants
- NANOS_PER_MICROSECOND = 1000
- NANOS_PER_MILLISECOND = 1000000
- NANOS_PER_SECOND = 1000000000
Methods
- now() : int
- Returns the current epoch wall-clock timestamp in nanoseconds
Constants
NANOS_PER_MICROSECOND
public
mixed
NANOS_PER_MICROSECOND
= 1000
NANOS_PER_MILLISECOND
public
mixed
NANOS_PER_MILLISECOND
= 1000000
NANOS_PER_SECOND
public
mixed
NANOS_PER_SECOND
= 1000000000
Methods
now()
Returns the current epoch wall-clock timestamp in nanoseconds
public
now() : int