📄 mach_01.cc
字号:
// file: $isip/class/asr/Machine/mach_01.cc//// isip include files//#include "Machine.h"#include <Console.h>// method: debug//// arguments:// const unichar* message: (input) information message//// return: a boolean value indicating status//// this method dumps the contents of an object to the console//boolean Machine::debug(const unichar* msg_a) const { // build a debug string // String value; String output; // output an information message // output.debugStr(name(), msg_a, L":"); Console::put(output); Console::increaseIndention(); // write the node name // node_name_d.debug(L"node_name_d"); // write the architecture // architecture_d.debug(L"architecture_d"); // write the number of processors // num_processors_d.debug(L"num_processors_d"); // write the processor speed // speed_d.debug(L"speed_d"); // write the main memory // main_memory_d.debug(L"main_memory_d"); // write the swap memory // swap_memory_d.debug(L"swap_memory_d"); // write the OS // os_d.debug(L"os_d"); // write the OS version // os_version_d.debug(L"os_version_d"); // decrease indention // Console::decreaseIndention(); // exit gracefully // return true;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -