Check the value at idle time for debugging the cpu usage issue
[platform/core/multimedia/mmsvc-core.git] / server / include / muse_server_private.h
index eed0a4b..b755c84 100644 (file)
@@ -70,6 +70,7 @@ typedef struct _muse_server {
        int stop;
        int retval;
        int pid;
+       int cpu_threshold;
        gint running;
        tbm_bufmgr bufmgr;
        GMainLoop *main_loop;
@@ -105,7 +106,7 @@ muse_server_h ms_get_instance(void);
 gboolean ms_check_module_idx(int idx);
 ms_module_t *ms_get_module_instance(int idx);
 int ms_deinit(void);
-void ms_check_memory(int pid);
+void ms_check_cpu_memory(int pid);
 void ms_new(void);
 int ms_open_lockfile(void);
 void ms_run(void);