Public Member Functions | List of all members
cpuInfo Class Reference

General CPU characteristics. More...

Public Member Functions

 cpuInfo ()
 
 ~cpuInfo ()=default
 
void write (Ostream &os) const
 

Detailed Description

General CPU characteristics.

If the machine has multiple cpus/cores, only the characteristics of the first core are used.

Note
Uses the information from /proc/cpuinfo
Source files

Definition at line 55 of file cpuInfo.H.

Constructor & Destructor Documentation

◆ cpuInfo()

cpuInfo ( )

Definition at line 138 of file cpuInfo.C.

◆ ~cpuInfo()

~cpuInfo ( )
default

Member Function Documentation

◆ write()

void write ( Ostream os) const

Definition at line 154 of file cpuInfo.C.

References os(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

The documentation for this class was generated from the following files: