benchmarkme (version 1.0.7)

get_cpu: 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()

Arguments

Examples

# NOT RUN {
## Return the machine CPU
get_cpu()
# }