final class CpuTime (View source)

Methods

static CpuTime
fromSecondsAndNanoseconds(int $seconds, int $nanoseconds)

No description

int
seconds()

No description

int
nanoseconds()

No description

float
asFloat()

No description

add(CpuTime $other)

No description

diff(CpuTime $other)

No description

Details

static CpuTime fromSecondsAndNanoseconds(int $seconds, int $nanoseconds)

No description

Parameters

int $seconds
int $nanoseconds

Return Value

CpuTime

Exceptions

InvalidArgumentException

int seconds()

No description

Return Value

int

int nanoseconds()

No description

Return Value

int

float asFloat()

No description

Return Value

float

CpuTime add(CpuTime $other)

No description

Parameters

CpuTime $other

Return Value

CpuTime

Exceptions

InvalidArgumentException

CpuTime diff(CpuTime $other)

No description

Parameters

CpuTime $other

Return Value

CpuTime

Exceptions

InvalidArgumentException