#define MUSE_WATCHDOG_MIN_TIMEOUT "muse:min_timeout"
#define MUSE_WATCHDOG_MAX_TIMEOUT "muse:max_timeout"
#define MUSE_MEMORY_THRESHOLD "muse:memory_threshold"
+#define MUSE_CPU_THRESHOLD "muse:cpu_threshold"
#define MUSE_WATCH_EXTERNAL_STORAGE "muse:enable_watch_external_storage"
#define MUSE_ON_DEMAND_LAUNCH "muse:on_demand"
#define MUSE_ON_DEMAND_MAX_IDLE_TIME "muse:on_demand_max_idle_time"
#define DEFAULT_WATCHDOG_MAX_TIMEOUT 60
#define DEFAULT_DISPATCH_WATCHDOG_TIMEOUT 10
#define DEFAULT_MEMORY_LEAK_THRESHOLD 50000 /* 50MB */
+#define DEFAULT_CPU_THRESHOLD 100 /* 100% */
#define DEFAULT_WATCHDOG_DISABLED_API_INDEX -1 /* Watchdog is applied to all dispatcher functions */
#define DEFAULT_MAX_INSTANCE -1 /* Unlimited */
#define DEFAULT_CAUTION_INSTANCE -1
int min_timeout;
int max_timeout;
int memory_threshold;
+ int cpu_threshold;
gboolean is_watch_external_storage_enabled;
char *gst_param_str[MUSE_PARAM_MAX];
int gst_param_cnt;
int ms_config_get_min_timeout(void);
int ms_config_get_max_timeout(void);
int ms_config_get_memory_threshold(void);
+int ms_config_get_cpu_threshold(void);
gboolean ms_config_is_on_demand(void);
int ms_config_get_max_idle_time(void);
int ms_config_get_idle_state_wait_time(void);