\section{Caches}
\label{group__Caches}\index{Caches@{Caches}}


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


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Caches_gaff3f01cd3a44e7db664071e16131148d}{elm\-\_\-cache\-\_\-all\-\_\-flush} (void)
\begin{DoxyCompactList}\small\item\em Flush all caches. \end{DoxyCompactList}\item 
int \hyperlink{group__Caches_ga09f5efe300c39b9a33d579b08fd4ea61}{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured cache flush interval time. \end{DoxyCompactList}\item 
void \hyperlink{group__Caches_ga5a2383fbb447045431c55e18b49749a3}{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set} (int size)
\begin{DoxyCompactList}\small\item\em Set the configured cache flush interval time. \end{DoxyCompactList}\item 
Eina\-\_\-\-Bool \hyperlink{group__Caches_gaae1ae2c1ec433afdad865779a9febab8}{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured cache flush enabled state. \end{DoxyCompactList}\item 
void \hyperlink{group__Caches_ga7b0cb9a009f373529b04129b70fd2d2e}{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set} (Eina\-\_\-\-Bool enabled)
\begin{DoxyCompactList}\small\item\em Set the configured cache flush enabled state. \end{DoxyCompactList}\item 
int \hyperlink{group__Caches_gad70a4a1e0d7c3b4f5baa67db932794c6}{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured font cache size. \end{DoxyCompactList}\item 
void \hyperlink{group__Caches_ga76c2e9a1742bece876bd340c2d80f4f4}{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set} (int size)
\begin{DoxyCompactList}\small\item\em Set the configured font cache size. \end{DoxyCompactList}\item 
int \hyperlink{group__Caches_gac5ff76a48c2fe2947d764e0c272d8e18}{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured image cache size. \end{DoxyCompactList}\item 
void \hyperlink{group__Caches_gabb3ab82e03a46ba4da0faed1942ada60}{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set} (int size)
\begin{DoxyCompactList}\small\item\em Set the configured image cache size. \end{DoxyCompactList}\item 
int \hyperlink{group__Caches_gaca712f9145fd2b3b4158c11515596217}{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured edje file cache size. \end{DoxyCompactList}\item 
void \hyperlink{group__Caches_gac05060180d920612ae11fa6683303dc9}{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set} (int size)
\begin{DoxyCompactList}\small\item\em Set the configured edje file cache size. \end{DoxyCompactList}\item 
int \hyperlink{group__Caches_gae452a4ffeb0a41ee0574a007edce529f}{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get} (void)
\begin{DoxyCompactList}\small\item\em Get the configured edje collections (groups) cache size. \end{DoxyCompactList}\item 
void \hyperlink{group__Caches_ga8a651a8f548aa8b60b79a49d53d4d1ea}{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set} (int size)
\begin{DoxyCompactList}\small\item\em Set the configured edje collections (groups) cache size. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
These are functions which let one fine-\/tune some cache values for Elementary applications, thus allowing for performance adjustments. 

\subsection{Function Documentation}
\index{Caches@{Caches}!elm\-\_\-cache\-\_\-all\-\_\-flush@{elm\-\_\-cache\-\_\-all\-\_\-flush}}
\index{elm\-\_\-cache\-\_\-all\-\_\-flush@{elm\-\_\-cache\-\_\-all\-\_\-flush}!Caches@{Caches}}
\subsubsection[{elm\-\_\-cache\-\_\-all\-\_\-flush}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-cache\-\_\-all\-\_\-flush (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_gaff3f01cd3a44e7db664071e16131148d}


Flush all caches. 

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. This is equivalent to calling all of the following functions\-: \begin{DoxyItemize}
\item edje\-\_\-file\-\_\-cache\-\_\-flush() \item edje\-\_\-collection\-\_\-cache\-\_\-flush() \item eet\-\_\-clearcache() \item evas\-\_\-image\-\_\-cache\-\_\-flush() \item evas\-\_\-font\-\_\-cache\-\_\-flush() \item evas\-\_\-render\-\_\-dump() \begin{DoxyNote}{Note}
Evas caches are flushed for every canvas associated with a window. 
\end{DoxyNote}
\end{DoxyItemize}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get}}
\index{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_gae452a4ffeb0a41ee0574a007edce529f}


Get the configured edje collections (groups) cache size. 

This gets the globally configured edje collections cache size, in number of collections.

\begin{DoxyReturn}{Returns}
The edje collections cache size 
\end{DoxyReturn}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set}}
\index{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-collection\-\_\-cache\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Caches_ga8a651a8f548aa8b60b79a49d53d4d1ea}


Set the configured edje collections (groups) cache size. 

This sets the globally configured edje collections cache size, in number of collections.


\begin{DoxyParams}{Parameters}
{\em size} & The edje collections cache size \\
\hline
\end{DoxyParams}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get}}
\index{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_gaca712f9145fd2b3b4158c11515596217}


Get the configured edje file cache size. 

This gets the globally configured edje file cache size, in number of files.

\begin{DoxyReturn}{Returns}
The edje file cache size 
\end{DoxyReturn}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set}}
\index{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-cache\-\_\-edje\-\_\-file\-\_\-cache\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Caches_gac05060180d920612ae11fa6683303dc9}


Set the configured edje file cache size. 

This sets the globally configured edje file cache size, in number of files.


\begin{DoxyParams}{Parameters}
{\em size} & The edje file cache size \\
\hline
\end{DoxyParams}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get}}
\index{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\-\_\-\-Bool elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_gaae1ae2c1ec433afdad865779a9febab8}


Get the configured cache flush enabled state. 

This gets the globally configured cache flush state -\/ if it is enabled or not. When cache flushing is enabled, elementary will regularly (see \hyperlink{group__Caches_ga09f5efe300c39b9a33d579b08fd4ea61}{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.

\begin{DoxyReturn}{Returns}
The cache flush state
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Caches_gaff3f01cd3a44e7db664071e16131148d}{elm\-\_\-cache\-\_\-all\-\_\-flush()} 
\end{DoxySeeAlso}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set}}
\index{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-enabled\-\_\-set (
\begin{DoxyParamCaption}
\item[{Eina\-\_\-\-Bool}]{enabled}
\end{DoxyParamCaption}
)}\label{group__Caches_ga7b0cb9a009f373529b04129b70fd2d2e}


Set the configured cache flush enabled state. 

This sets the globally configured cache flush enabled state.


\begin{DoxyParams}{Parameters}
{\em enabled} & The cache flush enabled state\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Caches_gaff3f01cd3a44e7db664071e16131148d}{elm\-\_\-cache\-\_\-all\-\_\-flush()} 
\end{DoxySeeAlso}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get}}
\index{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_ga09f5efe300c39b9a33d579b08fd4ea61}


Get the configured cache flush interval time. 

This gets the globally configured cache flush interval time, in ticks

\begin{DoxyReturn}{Returns}
The cache flush interval time
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Caches_gaff3f01cd3a44e7db664071e16131148d}{elm\-\_\-cache\-\_\-all\-\_\-flush()} 
\end{DoxySeeAlso}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set}}
\index{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-cache\-\_\-flush\-\_\-interval\-\_\-set (
\begin{DoxyParamCaption}
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Caches_ga5a2383fbb447045431c55e18b49749a3}


Set the configured cache flush interval time. 

This sets the globally configured cache flush interval time, in ticks


\begin{DoxyParams}{Parameters}
{\em size} & The cache flush interval time\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
The {\ttfamily size} must be greater than 0. if not, the cache flush will be ignored.
\end{DoxyNote}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Caches_gaff3f01cd3a44e7db664071e16131148d}{elm\-\_\-cache\-\_\-all\-\_\-flush()} 
\end{DoxySeeAlso}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get}}
\index{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_gad70a4a1e0d7c3b4f5baa67db932794c6}


Get the configured font cache size. 

This gets the globally configured font cache size, in kilo bytes.

\begin{DoxyReturn}{Returns}
The font cache size 
\end{DoxyReturn}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set}}
\index{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-cache\-\_\-font\-\_\-cache\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Caches_ga76c2e9a1742bece876bd340c2d80f4f4}


Set the configured font cache size. 

This sets the globally configured font cache size, in kilo bytes


\begin{DoxyParams}{Parameters}
{\em size} & The font cache size \\
\hline
\end{DoxyParams}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get}}
\index{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get@{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}int elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Caches_gac5ff76a48c2fe2947d764e0c272d8e18}


Get the configured image cache size. 

This gets the globally configured image cache size, in kilo bytes

\begin{DoxyReturn}{Returns}
The image cache size 
\end{DoxyReturn}
\index{Caches@{Caches}!elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set}}
\index{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set@{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set}!Caches@{Caches}}
\subsubsection[{elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-config\-\_\-cache\-\_\-image\-\_\-cache\-\_\-size\-\_\-set (
\begin{DoxyParamCaption}
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Caches_gabb3ab82e03a46ba4da0faed1942ada60}


Set the configured image cache size. 

This sets the globally configured image cache size, in kilo bytes


\begin{DoxyParams}{Parameters}
{\em size} & The image cache size \\
\hline
\end{DoxyParams}
