get_cpu: CPU Description

View source: R/get_cpu.R

get_cpuR Documentation

CPU Description

Description

Attempt to extract the CPU model on the current host. This is OS specific:

  • Linux: /proc/cpuinfo

  • Apple: sysctl -n

  • Solaris: Not implemented.

  • Windows: wmic cpu

A value of NA is return if it isn't possible to obtain the CPU.

Usage

get_cpu()

Examples

## Return the machine CPU
get_cpu()

benchmarkme documentation built on June 12, 2022, 5:06 p.m.