processor_stub.cpp
来自「Pegasus is an open-source implementation」· C++ 代码 · 共 620 行 · 第 1/2 页
CPP
620 行
{ // not yet implemented return false;}// =============================================================================// NAME : getIdentifyingDescriptions// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getIdentifyingDescriptions(Array<String>& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getAdditionalAvailability// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getAdditionalAvailability(Array<Uint16>& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getMaxQuiesceTime// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getMaxQuiesceTime(Uint64& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getRole// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getRole(String& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getFamily// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getFamily(Uint16& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getOtherFamilyDescription// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getOtherFamilyDescription(String& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getUpgradeMethod// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getUpgradeMethod(Uint16& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getMaxClockSpeed// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getMaxClockSpeed(Uint32& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getCurrentClockSpeed// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getCurrentClockSpeed(Uint32& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getDataWidth// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getDataWidth(Uint16& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getAddressWidth// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getAddressWidth(Uint16& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getLoadPercentage// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getLoadPercentage(Uint16& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getStepping// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getStepping(String& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getUniqueID// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getUniqueID(String& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getCPUStatus// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getCPUStatus(Uint16& i) const{ // not yet implemented return false;}// =============================================================================// NAME : getBiosID// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getBiosID(String& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getFirmwareID// DESCRIPTION : // ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::getFirmwareID(String& s) const{ // not yet implemented return false;}// =============================================================================// NAME : getSysName// DESCRIPTION : Platform-specific method to get CSName// ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================String Processor::getSysName(void){ // This routine must be written to return this key value return String::EMPTY;}// =============================================================================// NAME : loadProcessorInfo// DESCRIPTION : get processor info from system into internal data struct// ASSUMPTIONS : None// PRE-CONDITIONS :// POST-CONDITIONS : // NOTES : // =============================================================================Boolean Processor::loadProcessorInfo(int& pIndex){ // not yet implemented return false;}/*================================================================================NAME : findProcessorDESCRIPTION : find the requested processor and load its dataASSUMPTIONS : NonePRE-CONDITIONS :POST-CONDITIONS : NOTES : ================================================================================*/Boolean Processor::findProcessor(const String& deviceID){ // not yet implemented return false;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?