- `irq` : `number`
uv.cpumask_size() *uv.cpumask_size()*
Returns the maximum size of the mask used for process/thread
affinities, or `ENOTSUP` if affinities are not supported on
the current platform.
Returns: `integer` or `fail`
uv.getpid() *uv.getpid()*
DEPRECATED: Please use |uv.os_getpid()| instead.
uv.getuid() *uv.getuid()*
Returns the user ID of the process.
Returns: `integer`
Note: This is not a libuv function and is not supported on
Windows.
uv.getgid() *uv.getgid()*
Returns the group ID of the process.
Returns: `integer`
Note: This is not a libuv function and is not supported on
Windows.
uv.setuid({id}) *uv.setuid()*
Parameters:
- `id`: `integer`
Sets the user ID of the process with the integer `id`.
Returns: Nothing.
Note: This is not a libuv function and is not supported on
Windows.
uv.setgid({id}) *uv.setgid()*
Parameters:
- `id`: `integer`
Sets the group ID of the process with the integer `id`.
Returns: Nothing.
Note: This is not a libuv function and is not supported on
Windows.
uv.hrtime() *uv.hrtime()*
Returns a current high-resolution time in nanoseconds as a
number. This is relative to an arbitrary time in the past. It
is not related to the time of day and therefore not subject to
clock drift. The primary use is for measuring time between
intervals.
Returns: `number`
uv.clock_gettime({clock_id}) *uv.clock_gettime()*
Parameters:
- `clock_id`: `string`
Obtain the current system time from a high-resolution
real-time or monotonic clock source. `clock_id` can be the
string `"monotonic"` or `"realtime"`.
The real-time clock counts from the UNIX epoch (1970-01-01)
and is subject to time adjustments; it can jump back in time.
The monotonic clock counts from an arbitrary point in the past
and never jumps back in time.
Returns: `table` or `fail`
- `sec`: `integer`
- `nsec`: `integer`
uv.uptime() *uv.uptime()*
Returns the current system uptime in seconds.
Returns: `number` or `fail`
uv.print_all_handles() *uv.print_all_handles()*
Prints all handles associated with the main loop to stderr.
The format is `[flags] handle-type handle-address` . Flags are
`R` for referenced, `A` for active and `I` for internal.
Returns: Nothing.
Note: This is not available on Windows.
WARNING: This function is meant for ad hoc debugging, there
are no API/ABI stability guarantees.
uv.print_active_handles() *uv.print_active_handles()*
The same as |uv.print_all_handles()| except only active
handles are printed.
Returns: Nothing.
Note: This is not available on Windows.
WARNING: This function