Tizen Native API
|
These are functions which let one fine-tune some cache values for Elementary applications, thus allowing for performance adjustments.
Functions | |
void | elm_cache_all_flush (void) |
Flushes all caches. |
Function Documentation
void elm_cache_all_flush | ( | void | ) |
Flushes all caches.
This frees all data that is in the cache and is not currently being used, in order to reduce memory usage. This frees Edje's, Evas', and Eet's cache. This is equivalent to calling all of the following functions:
- Since :
- 2.3.1
- Remarks:
- Evas caches are flushed for every canvas associated with a window.
int elm_config_cache_edje_collection_cache_size_get | ( | void | ) |
Gets the configured edje collections (groups) cache size.
This gets the globally configured edje collections cache size, in number of collections.
- Since :
- 2.3.1
- Returns:
- The edje collections cache size
void elm_config_cache_edje_collection_cache_size_set | ( | int | size | ) |
Sets the configured edje collections (groups) cache size.
This sets the globally configured edje collections cache size, in number of collections.
- Since :
- 2.3.1
- Parameters:
-
[in] size The edje collections cache size
int elm_config_cache_edje_file_cache_size_get | ( | void | ) |
Gets the configured edje file cache size.
This gets the globally configured edje file cache size, in number of files.
- Since :
- 2.3.1
- Returns:
- The edje file cache size
void elm_config_cache_edje_file_cache_size_set | ( | int | size | ) |
Sets the configured edje file cache size.
This sets the globally configured edje file cache size, in number of files.
- Since :
- 2.3.1
- Parameters:
-
[in] size The edje file cache size
Gets the configured cache flush enabled state.
This gets the globally configured cache flush state - whether it is enabled or not. When cache flushing is enabled, elementary regularly (see elm_config_cache_flush_interval_get() ) flushes caches and dumps data out of memory and allows usage to re-seed caches and data in memory where it can do so. An idle application thus minimizes its memory usage as data is freed from memory and does not re-load as it is idle and not rendering or doing anything graphically right now.
- Since :
- 2.3.1
- Returns:
- The cache flush state
- See also:
- elm_cache_all_flush()
void elm_config_cache_flush_enabled_set | ( | Eina_Bool | enabled | ) |
Sets the configured cache flush enabled state.
This sets the globally configured cache flush enabled state.
- Since :
- 2.3.1
- Parameters:
-
[in] enabled The cache flush enabled state
- See also:
- elm_cache_all_flush()
int elm_config_cache_flush_interval_get | ( | void | ) |
Gets the configured cache flush interval time.
This gets the globally configured cache flush interval time, in ticks.
- Since :
- 2.3.1
- Returns:
- The cache flush interval time
- See also:
- elm_cache_all_flush()
void elm_config_cache_flush_interval_set | ( | int | size | ) |
Sets the configured cache flush interval time.
This sets the globally configured cache flush interval time, in ticks.
- Since :
- 2.3.1
- Remarks:
- The size must be greater than
0
. If not, the cache flush is ignored.
- Parameters:
-
[in] size The cache flush interval time
- See also:
- elm_cache_all_flush()
int elm_config_cache_font_cache_size_get | ( | void | ) |
Gets the configured font cache size.
This gets the globally configured font cache size, in bytes.
- Since :
- 2.3.1
- Returns:
- The font cache size
void elm_config_cache_font_cache_size_set | ( | int | size | ) |
Sets the configured font cache size.
This sets the globally configured font cache size, in bytes
- Since :
- 2.3.1
- Parameters:
-
[in] size The font cache size
int elm_config_cache_image_cache_size_get | ( | void | ) |
Gets the configured image cache size.
This gets the globally configured image cache size, in bytes
- Since :
- 2.3.1
- Returns:
- The image cache size
void elm_config_cache_image_cache_size_set | ( | int | size | ) |
Sets the configured image cache size.
This sets the globally configured image cache size, in bytes.
- Since :
- 2.3.1
- Parameters:
-
[in] size The image cache size