Changeset d9cdcb3 in nscp
- Timestamp:
- 04/28/12 07:32:00 (14 months ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- fa11893
- Parents:
- 308ae18
- Files:
-
- 1 added
- 3 edited
-
.gitignore (added)
-
changelog (modified) (1 diff)
-
modules/CheckSystem/CheckSystem.cpp (modified) (2 diffs)
-
modules/CheckSystem/PDHCollector.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
changelog
r308ae18 rd9cdcb3 4 4 * Fixa dependonservice LanManWorkStation (old win) 5 5 * Fix RtlStringFromGUID problem on NT4 6 7 2012-04-26 MickeM 8 * Fixed issue with check-cpu sampling interval being 10seconds and not 1/10 second. 6 9 7 10 2012-04-23 MickeM -
modules/CheckSystem/CheckSystem.cpp
r308ae18 rd9cdcb3 71 71 bool CheckSystem::loadModuleEx(std::wstring alias, NSCAPI::moduleLoadMode mode) { 72 72 PDHCollector::system_counter_data *data = new PDHCollector::system_counter_data; 73 data->check_intervall = 1 00;73 data->check_intervall = 1; 74 74 try { 75 75 typedef std::map<std::wstring,std::wstring> counter_map_type; … … 99 99 _T("DEFAULT LENGTH"), _T("Used to define the default intervall for range buffer checks (ie. CPU).")) 100 100 101 (_T("default intervall"), sh::uint_key(&data->check_intervall, 1 0),102 _T("DEFAULT INTERVALL"), _T("Used to define the default intervall for range buffer checks (ie. CPU).") )101 (_T("default intervall"), sh::uint_key(&data->check_intervall, 1), 102 _T("DEFAULT INTERVALL"), _T("Used to define the default intervall for range buffer checks (ie. CPU)."), true) 103 103 104 104 ; -
modules/CheckSystem/PDHCollector.cpp
r8013c0c rd9cdcb3 227 227 } 228 228 try { 229 unsigned int mseconds = strEx::stoui_as_time(time , frequency);229 unsigned int mseconds = strEx::stoui_as_time(time); 230 230 return static_cast<int>(get_avg_value(PDH_SYSTEM_KEY_CPU, mseconds/frequency)); 231 231 } catch (PDHCollectors::PDHException &e) {
Note: See TracChangeset
for help on using the changeset viewer.








