OpenTelemetry PHP

SystemClockTest extends TestCase
in package

Attributes
#[CoversClass]
\OpenTelemetry\API\Common\Time\SystemClock::class

Table of Contents

Constants

NANOS_PER_SECOND  = 1000000000

Methods

test_now_is_chronological()  : void
test_now_returns_nanoseconds()  : void
assertNanoSecondsWallClock()  : void

Constants

Methods

test_now_is_chronological()

public test_now_is_chronological() : void

test_now_returns_nanoseconds()

public test_now_returns_nanoseconds() : void

assertNanoSecondsWallClock()

private assertNanoSecondsWallClock(int $value, DateTime $reference) : void
Parameters
$value : int
$reference : DateTime

        
On this page

Search results