2009-12-18 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed bug #2907481. * bin/PandoraAgent.exe: Updated to current revision. * installer/pandora.mpi, pandora.cc: Updated build. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1f1994cfff
commit
dfca4a7591
|
@ -1,3 +1,11 @@
|
|||
2009-12-18 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* windows/pandora_wmi.cc: Fixed bug #2907481.
|
||||
|
||||
* bin/PandoraAgent.exe: Updated to current revision.
|
||||
|
||||
* installer/pandora.mpi, pandora.cc: Updated build.
|
||||
|
||||
2009-12-16 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* installer/pandora.mpi, README:Preparing release
|
||||
|
|
Binary file not shown.
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||
{}
|
||||
|
||||
Version
|
||||
{091125}
|
||||
{091218}
|
||||
|
||||
ViewReadme
|
||||
{Yes}
|
||||
|
|
|
@ -30,7 +30,7 @@ using namespace Pandora;
|
|||
using namespace Pandora_Strutils;
|
||||
|
||||
#define PATH_SIZE _MAX_PATH+1
|
||||
#define PANDORA_VERSION ("3.0(Build 091125)")
|
||||
#define PANDORA_VERSION ("3.0(Build 091218)")
|
||||
|
||||
string pandora_path;
|
||||
string pandora_dir;
|
||||
|
|
|
@ -255,9 +255,11 @@ Pandora_Wmi::getCpuUsagePercentage (int cpu_id) {
|
|||
FOR_EACH (quickfix, quickfixes, NULL) {
|
||||
dhGetValue (L"%d", &load_percentage, quickfix,
|
||||
L".LoadPercentage");
|
||||
|
||||
total_cpus++;
|
||||
total_load += load_percentage;
|
||||
// Sanity check
|
||||
if (load_percentage >= 0 && load_percentage <= 100) {
|
||||
total_cpus++;
|
||||
total_load += load_percentage;
|
||||
}
|
||||
} NEXT_THROW (quickfix);
|
||||
|
||||
if (total_cpus == 0) {
|
||||
|
|
Loading…
Reference in New Issue