git-svn-id: svn://db.shs.com.ru/pip@819 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -845,14 +845,14 @@ void PIConsole::addVariable(const PIString & name, const PIDiagnostics * ptr, in
|
||||
}
|
||||
void PIConsole::addVariable(const PIString & name, const PISystemMonitor * ptr, int col, FormatFlags format) {
|
||||
addString("monitor " + name, col, format | PIConsole::Bold);
|
||||
addVariable("PID", &(ptr->statistic().ID), col, format);
|
||||
//addVariable("PID", &(ptr->statistic().ID), col, format);
|
||||
//addVariable("state", &(ptr->statistic().state), col, format);
|
||||
addVariable("threads", &(ptr->statistic().threads), col, format);
|
||||
addVariable("priority", &(ptr->statistic().priority), col, format);
|
||||
addVariable("memory physical", &(ptr->statistic().physical_memsize_readable), col, format);
|
||||
addVariable("memory shared", &(ptr->statistic().share_memsize_readable), col, format);
|
||||
addVariable("cpu load kernel", &(ptr->statistic().cpu_load_system), col, format);
|
||||
addVariable("cpu load user", &(ptr->statistic().cpu_load_user), col, format);
|
||||
//addVariable("threads", &(ptr->statistic().threads), col, format);
|
||||
//addVariable("priority", &(ptr->statistic().priority), col, format);
|
||||
//addVariable("memory physical", &(ptr->statistic().physical_memsize_readable), col, format);
|
||||
//addVariable("memory shared", &(ptr->statistic().share_memsize_readable), col, format);
|
||||
//addVariable("cpu load kernel", &(ptr->statistic().cpu_load_system), col, format);
|
||||
//addVariable("cpu load user", &(ptr->statistic().cpu_load_user), col, format);
|
||||
}
|
||||
void PIConsole::addBitVariable(const PIString & name, const void * ptr, int fromBit, int bitCount, int col, FormatFlags format) {
|
||||
vid++; tv.id = vid; tv.size = sizeof(ullong); tv.name = name; tv.bitFrom = fromBit; tv.bitCount = bitCount; tv.type = 14; tv.ptr = ptr; tv.format = format;
|
||||
|
||||
Reference in New Issue
Block a user