File: get_cpu.Rd

package info (click to toggle)
r-cran-benchmarkme 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 404 kB
  • sloc: sh: 13; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_cpu.R
\name{get_cpu}
\alias{get_cpu}
\title{CPU Description}
\usage{
get_cpu()
}
\description{
Attempt to extract the CPU model on the current host. This is OS
specific:
\itemize{
\item Linux: \code{/proc/cpuinfo}
\item Apple: \code{sysctl -n}
\item Solaris: Not implemented.
\item Windows: \code{wmic cpu}
}
A value of \code{NA} is return if it isn't possible to obtain the CPU.
}
\examples{
## Return the machine CPU
get_cpu()
}