E_CONFIG_VAL(D, T, configured_output_resolution.w, INT);
E_CONFIG_VAL(D, T, configured_output_resolution.h, INT);
E_CONFIG_VAL(D, T, global_object_not_provide.launch_effect, UCHAR);
+ E_CONFIG_VAL(D, T, use_thread_max_cpu, UCHAR);
}
static Eina_Bool
E_CONFIG_LIMIT(e_config->qp_handler.alpha, 0, 255);
E_CONFIG_LIMIT(e_config->configured_output_resolution.use, 0, 1);
E_CONFIG_LIMIT(e_config->global_object_not_provide.launch_effect, 0, 1);
+ E_CONFIG_LIMIT(e_config->use_thread_max_cpu, 0, 1);
}
E_API int
{
Eina_Bool launch_effect; // iface name : tizen_launch_effect
} global_object_not_provide;
+
+ Eina_Bool use_thread_max_cpu; //set cpu count to ecore thread max
};
struct _E_Config_Desklock_Background
e_comp_all_thaw();
TSE("E_Comp Thaw Done");
+ if (e_config->use_thread_max_cpu)
+ {
+ int cpus;
+
+ cpus = eina_cpu_count();
+ if (cpus >= 1)
+ {
+ TSM("Set ecore thread max");
+ ecore_thread_max_set(cpus);
+ }
+ }
+
_idle_after = ecore_idle_enterer_add(_e_main_cb_idle_after, NULL);
starting = EINA_FALSE;