git-svn-id: svn://db.shs.com.ru/pip@539 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -221,13 +221,13 @@ public:
|
||||
line += ns.expandLeftTo(5, ' ') + " %, u ";
|
||||
ns = PIString::fromNumber(sys_mon.statistic().cpu_load_user, 'f', 2);
|
||||
line += ns.expandLeftTo(5, ' ') + " %";
|
||||
tile->content << TileList::Row("PID: " + PIString(sys_mon.statistic().ID), CellFormat());
|
||||
tile->content << TileList::Row("PID: " + PIString::fromNumber(sys_mon.statistic().ID), CellFormat());
|
||||
tile->content << TileList::Row(line, CellFormat());
|
||||
tile->content << TileList::Row("Threads:", CellFormat());
|
||||
piForeachC (PISystemMonitor::ThreadStats & t, ts)
|
||||
maxlen = piMaxi(maxlen, t.name.length());
|
||||
piForeachC (PISystemMonitor::ThreadStats & t, ts) {
|
||||
line = PIString(++num).expandLeftTo(2, ' ') + ": ";
|
||||
line = PIString::fromNumber(++num).expandLeftTo(2, ' ') + ": ";
|
||||
line += PIString(t.name).expandRightTo(maxlen, ' ') + ": k ";
|
||||
PIString ns = PIString::fromNumber(t.cpu_load_kernel, 'f', 2);
|
||||
line += ns.expandLeftTo(5, ' ') + " %, u ";
|
||||
|
||||
Reference in New Issue
Block a user