[FIX] CPU load value less then application cpu load 72/27672/2
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Wed, 17 Sep 2014 10:03:41 +0000 (14:03 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Wed, 17 Sep 2014 10:33:06 +0000 (14:33 +0400)
Change-Id: I8b119292a3b8d3de605f776c1a14750fae9f8364
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/da_protocol_check.h
daemon/sys_stat.c

index 594b383..fc3db9e 100644 (file)
@@ -32,7 +32,7 @@
 #define APP_INFO_TYPE_MIN 0x0001
 #define APP_INFO_TYPE_MAX 0x0004
 
-#define CONF_SYSTRACE_PERIOD_MIN 10
+#define CONF_SYSTRACE_PERIOD_MIN 100
 #define CONF_SYSTRACE_PERIOD_MAX 1000
 
 #define CONF_DATA_MSG_PERIOD_MIN 1
index abd1fb5..6eb2aac 100644 (file)
@@ -74,7 +74,7 @@
 #define MEM_SLOT_MAX           4
 
 #define MIN_TICKS_FOR_LOAD     8
-#define MIN_TOTAL_TICK         10
+#define MIN_TOTAL_TICK         1
 #define SYS_INFO_TICK          100     // TODO : change to (Hertz * profiling period)
 
 #define CPUMHZ         "cpu MHz"