The function getitimer() fills the structure pointed to by curr_value withthe current setting forthe timer specified by which (one of ITIMER_REAL, ITIMER_VIRTUAL, or ITIMER_PROF).
See L<getitimer(2) - Linux man page|https://linux.die.net/man/2/getitimer> in Linux.
The C<$curr_value> is a L<Sys::Time::Itimerval|SPVM::Sys::Time::Itimerval> object.
=head2 times
static method times: long ($buffer: Sys::Time::Tms);
times() stores the current process timesin the struct tms that buf points to. The struct tms is as definedin <sys/times.h>:
See the detail of the L<times|https://linux.die.net/man/2/times> function in the case of Linux.
Like nanosleep(2), clock_nanosleep() allows the calling thread to sleepforan interval specified withnanosecond precision. It differs in allowing the callerto selectthe clock against which the sleepinterval is to be measured, and in allowing the sleepinterval to be specified as either an absolute or a relative value.
See the detail of the L<clock_nanosleep(2) - Linux man page|https://linux.die.net/man/2/clock_nanosleep> function in the case of Linux.
The C<$request> is a L<Sys::Time::Timespec|SPVM::Sys::Time::Timespec> object.
The C<$remain> is a L<Sys::Time::Timespec|SPVM::Sys::Time::Timespec> object.
The nanosleep() function shall cause the current thread to be suspended from execution untileither the timeinterval specified by the rqtp argument haselapsed or a signal is delivered to the calling thread, and its action is to invoke a signal-catching function or to terminate the process.
See the detail of the L<nanosleep|https://linux.die.net/man/3/nanosleep> function in the case of Linux.
The rqtp is a L<Sys::Time::Timespec> object.
The rmtp is a L<Sys::Time::Timespec> object.
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
go to github issues (only if github is preferred repository)