git-svn-id: svn://db.shs.com.ru/pip@692 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-06 13:25:17 +00:00
parent 4bd271d093
commit c7ca5a366b

View File

@@ -57,6 +57,7 @@ PISystemMonitor::PISystemMonitor(): PIThread() {
self_ = false; self_ = false;
pID_ = cycle = 0; pID_ = cycle = 0;
cpu_count = PISystemInfo::instance()->processorsCount; cpu_count = PISystemInfo::instance()->processorsCount;
#ifndef FREERTOS
#ifndef WINDOWS #ifndef WINDOWS
# ifdef QNX # ifdef QNX
page_size = 4096; page_size = 4096;
@@ -66,6 +67,7 @@ PISystemMonitor::PISystemMonitor(): PIThread() {
#else #else
PRIVATE->hProc = 0; PRIVATE->hProc = 0;
PRIVATE->mem_cnt.cb = sizeof(PRIVATE->mem_cnt); PRIVATE->mem_cnt.cb = sizeof(PRIVATE->mem_cnt);
#endif
#endif #endif
setName("system_monitor"); setName("system_monitor");
} }