Tizen Native API

Functions

void elm_cache_all_flush (void)
 Flush all caches.
int elm_config_cache_flush_interval_get (void)
 Get the configured cache flush interval time.
void elm_config_cache_flush_interval_set (int size)
 Set the configured cache flush interval time.
Eina_Bool elm_config_cache_flush_enabled_get (void)
 Get the configured cache flush enabled state.
void elm_config_cache_flush_enabled_set (Eina_Bool enabled)
 Set the configured cache flush enabled state.
int elm_config_cache_font_cache_size_get (void)
 Get the configured font cache size.
void elm_config_cache_font_cache_size_set (int size)
 Set the configured font cache size.
int elm_config_cache_image_cache_size_get (void)
 Get the configured image cache size.
void elm_config_cache_image_cache_size_set (int size)
 Set the configured image cache size.
int elm_config_cache_edje_file_cache_size_get (void)
 Get the configured edje file cache size.
void elm_config_cache_edje_file_cache_size_set (int size)
 Set the configured edje file cache size.
int elm_config_cache_edje_collection_cache_size_get (void)
 Get the configured edje collections (groups) cache size.
void elm_config_cache_edje_collection_cache_size_set (int size)
 Set the configured edje collections (groups) cache size.

These are functions which let one fine-tune some cache values for Elementary applications, thus allowing for performance adjustments.


Function Documentation

void elm_cache_all_flush ( void  )

Flush all caches.

Since :
2.3
Remarks:
Frees all data that was in cache and is not currently being used to reduce memory usage. This frees Edje's, Evas' and Eet's cache.
Evas caches are flushed for every canvas associated with a window.

Get the configured edje collections (groups) cache size.

Since :
2.3
Remarks:
This gets the globally configured edje collections cache size, in number of collections.
Returns:
The edje collections cache size

Set the configured edje collections (groups) cache size.

Since :
2.3
Remarks:
This sets the globally configured edje collections cache size, in number of collections.
Parameters:
[in]sizeThe edje collections cache size

Get the configured edje file cache size.

Since :
2.3
Remarks:
This gets the globally configured edje file cache size, in number of files.
Returns:
The edje file cache size

Set the configured edje file cache size.

Since :
2.3
Remarks:
This sets the globally configured edje file cache size, in number of files.
Parameters:
[in]sizeThe edje file cache size

Get the configured cache flush enabled state.

Since :
2.3
Remarks:
This gets the globally configured cache flush state - if it is enabled or not. When cache flushing is enabled, elementary will regularly (see elm_config_cache_flush_interval_get() ) flush caches and dump data out of memory and allow usage to re-seed caches and data in memory where it can do so. An idle application will thus minimize its memory usage as data will be freed from memory and not be re-loaded as it is idle and not rendering or doing anything graphically right now.
Returns:
The cache flush state
See also:
elm_cache_all_flush()

Set the configured cache flush enabled state.

Since :
2.3
Remarks:
This sets the globally configured cache flush enabled state.
Parameters:
[in]enabledThe cache flush enabled state
See also:
elm_cache_all_flush()

Get the configured cache flush interval time.

Since :
2.3
Remarks:
This gets the globally configured cache flush interval time, in ticks
Returns:
The cache flush interval time
See also:
elm_cache_all_flush()

Set the configured cache flush interval time.

Since :
2.3
Remarks:
This sets the globally configured cache flush interval time, in ticks
Parameters:
[in]sizeThe cache flush interval time
Remarks:
The size must be greater than 0. if not, the cache flush will be ignored.
See also:
elm_cache_all_flush()

Get the configured font cache size.

Since :
2.3
Remarks:
This gets the globally configured font cache size, in kilo bytes.
Returns:
The font cache size

Set the configured font cache size.

Since :
2.3
Remarks:
This sets the globally configured font cache size, in kilo bytes
Parameters:
[in]sizeThe font cache size

Get the configured image cache size.

Since :
2.3
Remarks:
This gets the globally configured image cache size, in kilo bytes
Returns:
The image cache size

Set the configured image cache size.

Since :
2.3
Remarks:
This sets the globally configured image cache size, in kilo bytes
Parameters:
[in]sizeThe image cache size