ps_cpu_count

0th

Percentile

Number of logical or physical CPUs

If cannot be determined, it returns NA. It also returns NA on older Windows systems, e.g. Vista or older and Windows Server 2008 or older.

Usage
ps_cpu_count(logical = TRUE)
Arguments
logical

Whether to count logical CPUs.

Value

Integer scalar.

Aliases
  • ps_cpu_count
Examples
# NOT RUN {
ps_cpu_count(logical = TRUE)
ps_cpu_count(logical = FALSE)
# }
Documentation reproduced from package ps, version 1.3.2, License: BSD_3_clause + file LICENSE

Community examples

Looks like there are no examples yet.