@@ -107,16 +107,16 @@ void QPIIntrospector::buildDumpSection(QTreeWidgetItem * pi, PIString & str) {
|
||||
|
||||
void QPIIntrospector::showInfo() {
|
||||
PIString s;
|
||||
s << info.execCommand << "\n";
|
||||
s << info.execDateTime.toString() << "\n";
|
||||
s << info.OS_name << "(" << info.OS_version << ", " << info.architecture << ")\n";
|
||||
s << info.user << "\n";
|
||||
s << info.build_options.join(", ") << "\n";
|
||||
s << "\n";
|
||||
s << "load k: " << PIString::fromNumber(stat.proc.cpu_load_system, 'f', 2) << " %\n";
|
||||
s << "load u: " << PIString::fromNumber(stat.proc.cpu_load_user, 'f', 2) << " %\n";
|
||||
s << "threads: " << stat.proc.threads << "\n";
|
||||
s << "memory usage: " << stat.proc.physical_memsize_readable;
|
||||
s += info.execCommand + "\n";
|
||||
s += info.execDateTime.toString() + "\n";
|
||||
s += info.OS_name + "(" + info.OS_version + ", " + info.architecture + ")\n";
|
||||
s += info.user + "\n";
|
||||
s += info.build_options.join(", ") + "\n";
|
||||
s += "\n";
|
||||
s += "load k: " + PIString::fromNumber(stat.proc.cpu_load_system, 'f', 2) + " %\n";
|
||||
s += "load u: " + PIString::fromNumber(stat.proc.cpu_load_user, 'f', 2) + " %\n";
|
||||
s += "threads: " + PIString::fromNumber(stat.proc.threads) + "\n";
|
||||
s += "memory usage: " + stat.proc.physical_memsize_readable;
|
||||
labelInfo->setText(PI2QString(s));
|
||||
int tlic = treeStat->topLevelItemCount();
|
||||
for (int i = tlic; i < stat.threads.size_s(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user