|
@@ -96,7 +96,7 @@ struct EntityRunInfo
|
|
|
int eState;
|
|
|
int eTest;
|
|
|
int loadOpt;
|
|
|
- int memoryHighCount;//´Ë±äÁ¿·ÏÆúʹÓÃ
|
|
|
+ int memoryHighCount;//æ¤å�˜é‡�废弃使用
|
|
|
int cpuRatio;
|
|
|
FILETIME prevSysKernel, prevSysUser;
|
|
|
FILETIME prevProcKernel, prevProcUser;
|
|
@@ -118,7 +118,11 @@ struct EntityCfg
|
|
|
struct EntityNameCompare
|
|
|
{
|
|
|
public:
|
|
|
- bool operator()(const std::string x, const std::string y)
|
|
|
+ bool operator()(std::string x, std::string y)
|
|
|
+ {
|
|
|
+ return x.compare(y) < 0;
|
|
|
+ }
|
|
|
+ bool operator()(const std::string x, const std::string y) const
|
|
|
{
|
|
|
return x.compare(y) < 0;
|
|
|
}
|