[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/daemon
From: Stephan Kulow <coolo () kde ! org>
Date: 2006-09-12 13:04:16
Message-ID: 1158066256.242587.23750.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 583496 by coolo:
add more to the internals dump
M +17 -0 main.cpp
--- trunk/icecream/daemon/main.cpp #583495:583496
@@ -628,7 +628,24 @@
result += " envs_last_use[" + it->first + "] = " +
toString( it->second ) + "\n";
}
+ result += " Current kids: " + toString( current_kids ) + "\n";
+ if ( scheduler )
+ result += " Scheduler protocol: " + toString( scheduler->protocol ) + "\n";
+ StatsMsg msg;
+ unsigned int memory_fillgrade = 0;
+ unsigned long idleLoad = 0;
+ unsigned long niceLoad = 0;
+
+ if ( fill_stats( idleLoad, niceLoad, memory_fillgrade, &msg ) )
+ {
+ result += " cpu: " + toString( idleLoad ) + " idle, " +
+ toString( niceLoad ) + " nice\n";
+ result += " load: " + toString( msg.loadAvg1 / 1000. ) + ", icecream_load: \
" + + toString( icecream_load ) + "\n";
+ result += " memory: " + toString( memory_fillgrade ) + " (free: " + \
toString( msg.freeMem ) + ")\n"; + }
+
return result;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic