toggle menu
Wasi-emscripten-host
common
switch theme
search in API
host-test-fixtures
/
at.released.weh.host.test.fixtures
/
TestCputimeSource
/
TestCputimeClock
Test
Cputime
Clock
class
TestCputimeClock
(
val
isSupported
:
Boolean
=
true
,
resolution
:
Long
=
1.milliseconds.inWholeNanoseconds
,
valueProvider
:
(
)
->
Long
)
:
CputimeSource.CputimeClock
(
source
)
Members
Constructors
Test
Cputime
Clock
Link copied to clipboard
constructor
(
isSupported
:
Boolean
=
true
,
resolution
:
Long
=
1.milliseconds.inWholeNanoseconds
,
valueProvider
:
(
)
->
Long
)
Properties
is
Supported
Link copied to clipboard
open
override
val
isSupported
:
Boolean
=
true
Functions
get
Resolution
Nanoseconds
Link copied to clipboard
open
override
fun
getResolutionNanoseconds
(
)
:
Long
get
Time
Mark
Nanoseconds
Link copied to clipboard
open
override
fun
getTimeMarkNanoseconds
(
)
:
Long