Public Member Functions | List of all members
cpuInfo Class Reference

General CPU characteristics. More...

Public Member Functions

 cpuInfo ()
 Construct and populate with information. More...
 
 ~cpuInfo ()=default
 Destructor. More...
 
void write (Ostream &os) const
 Write content as dictionary entries. More...
 

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

Construct and populate with information.

Definition at line 138 of file cpuInfo.C.

◆ ~cpuInfo()

~cpuInfo ( )
default

Destructor.

Member Function Documentation

◆ write()

void write ( Ostream os) const

Write content as dictionary entries.

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: