LLCPUInfo Class Reference

#include <llsys.h>

Collaboration diagram for LLCPUInfo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLCPUInfo ()
void stream (std::ostream &s) const
std::string getCPUString () const
bool hasAltivec () const
bool hasSSE () const
bool hasSSE2 () const
S32 getMhz () const
const std::string & getFamily () const

Private Attributes

bool mHasSSE
bool mHasSSE2
bool mHasAltivec
S32 mCPUMhz
std::string mFamily
std::string mCPUString


Detailed Description

Definition at line 72 of file llsys.h.


Constructor & Destructor Documentation

LLCPUInfo::LLCPUInfo (  ) 


Member Function Documentation

void LLCPUInfo::stream ( std::ostream &  s  )  const

Definition at line 473 of file llsys.cpp.

References CPUINFO_BUFFER_SIZE, CProcessor::CPUInfoToText(), LLFile::fopen(), MAX_STRING, mCPUMhz, mCPUString, mHasAltivec, mHasSSE, and mHasSSE2.

Referenced by operator<<().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLCPUInfo::getCPUString (  )  const

Definition at line 468 of file llsys.cpp.

References mCPUString.

Referenced by LLFloaterAbout::LLFloaterAbout(), send_stats(), and LLAppViewer::writeSystemInfo().

Here is the caller graph for this function:

bool LLCPUInfo::hasAltivec (  )  const

Definition at line 448 of file llsys.cpp.

References mHasAltivec.

Referenced by LLAppViewer::initConfiguration(), settings_modify(), and LLAppViewer::writeSystemInfo().

Here is the caller graph for this function:

bool LLCPUInfo::hasSSE (  )  const

Definition at line 453 of file llsys.cpp.

References mHasSSE.

Referenced by settings_modify(), and LLAppViewer::writeSystemInfo().

Here is the caller graph for this function:

bool LLCPUInfo::hasSSE2 (  )  const

Definition at line 458 of file llsys.cpp.

References mHasSSE2.

Referenced by settings_modify(), and LLAppViewer::writeSystemInfo().

Here is the caller graph for this function:

S32 LLCPUInfo::getMhz (  )  const

Definition at line 463 of file llsys.cpp.

References mCPUMhz.

Referenced by LLFeatureManager::applyBaseMasks(), LLAppViewer::init(), LLViewerJoystick::LLViewerJoystick(), and LLAppViewer::writeSystemInfo().

Here is the caller graph for this function:

const std::string& LLCPUInfo::getFamily (  )  const [inline]

Definition at line 86 of file llsys.h.

References mFamily.

Referenced by LLFloaterReporter::gatherReport(), and LLAppViewer::writeSystemInfo().

Here is the caller graph for this function:


Member Data Documentation

bool LLCPUInfo::mHasSSE [private]

Definition at line 89 of file llsys.h.

Referenced by hasSSE(), LLCPUInfo(), and stream().

bool LLCPUInfo::mHasSSE2 [private]

Definition at line 90 of file llsys.h.

Referenced by hasSSE2(), LLCPUInfo(), and stream().

bool LLCPUInfo::mHasAltivec [private]

Definition at line 91 of file llsys.h.

Referenced by hasAltivec(), LLCPUInfo(), and stream().

Definition at line 92 of file llsys.h.

Referenced by getMhz(), LLCPUInfo(), and stream().

std::string LLCPUInfo::mFamily [private]

Definition at line 93 of file llsys.h.

Referenced by getFamily(), and LLCPUInfo().

std::string LLCPUInfo::mCPUString [private]

Definition at line 94 of file llsys.h.

Referenced by getCPUString(), LLCPUInfo(), and stream().


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

Generated on Fri May 16 08:43:22 2008 for SecondLife by  doxygen 1.5.5