Description Usage Arguments Value Examples
Get the Average Number of Free CPU Cores
1 2 3 4 5 6 | freeCores(
memory = c("5min", "15min", "1min"),
fraction = 0.9,
logical = getOption2("parallelly.availableCores.logical", TRUE),
default = parallelly::availableCores()
)
|
memory |
(character) The time period used to infer the system load, with alternatives being 5 minutes (default), 15 minutes, or 1 minute. |
fraction |
(non-negative numeric) A scale factor. |
logical |
Passed as-is to |
default |
(integer) The value to be returned if the system load is
unknown, i.e. |
An positive integer with attributes loadavg
(named numeric),
maxCores
(named integer), argument memory
(character), and
argument fraction
(numeric).
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.