TimeVal
Allocate a new TimeVal.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new TimeVal using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.
Parameters
scope
The AutofreeScope to allocate this structure in.
Allocate a new TimeVal.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
tvSec
seconds
tvUsec
microseconds
constructor(tvSec: <Error class: unknown class>, tvUsec: <Error class: unknown class>, scope: <Error class: unknown class>)(source)
Allocate a new TimeVal using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.
Parameters
tvSec
seconds
tvUsec
microseconds
scope
The AutofreeScope to allocate this structure in.