summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-08-20 18:26:02 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:14 +0900
commit1e4ee656a0c44cbf915e124aa59c50fdde9f0973 (patch)
treebceb1a7ff13916bca910349d06ac8b777db4b885 /src/lib/evas/cserve2/evas_cs2.h
parentdf31807329ca500eb579d538abe9f21208426934 (diff)
evas/cserve2: Fix cserve2_usage tool
Also, print shared arrays usage as it is sent as first message upon connection to the server. Add fonts to LRU and flush LRU as needed. Seems to work okay. Could probably be finetuned a bit.
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2.h')
-rw-r--r--src/lib/evas/cserve2/evas_cs2.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2.h b/src/lib/evas/cserve2/evas_cs2.h
index b233be6c2e..32e70a7863 100644
--- a/src/lib/evas/cserve2/evas_cs2.h
+++ b/src/lib/evas/cserve2/evas_cs2.h
@@ -231,6 +231,7 @@ struct _Msg_Stats {
231 * 231 *
232 * Content of the message follows: 232 * Content of the message follows:
233 * 233 *
234 * * char fonts_index_path[64]
234 * * number of font entries; 235 * * number of font entries;
235 * * each font entry: 236 * * each font entry:
236 * - unsigned int filelen 237 * - unsigned int filelen
@@ -241,15 +242,15 @@ struct _Msg_Stats {
241 * - unsigned int size; 242 * - unsigned int size;
242 * - unsigned int dpi; 243 * - unsigned int dpi;
243 * - unsigned int unused; 244 * - unsigned int unused;
244 * - ncaches: 245 * - const char glyph_data_shm[64];
245 * - each cache: 246 * - const char glyph_mempool_shm[64];
246 * * usigned int shmnamelen; 247 * - unsigned int nglyphs;
247 * * const char shmname; 248 * - each glyph: Glyph_Data struct
248 * * unsigned int size; 249 * - unsigned int id;
249 * * unsigned int usage; 250 * - unsigned int refcount;
250 * * unsigned int nglyphs;
251 * * each glyph:
252 * - unsigned int index; 251 * - unsigned int index;
252 * - unsigned int shm_id; // shared string id
253 * - unsigned int buffer_id;
253 * - unsigned int offset; 254 * - unsigned int offset;
254 * - unsigned int size; 255 * - unsigned int size;
255 * - unsigned int rows; 256 * - unsigned int rows;
@@ -260,6 +261,8 @@ struct _Msg_Stats {
260 */ 261 */
261struct _Msg_Font_Debug { 262struct _Msg_Font_Debug {
262 Msg_Base base; 263 Msg_Base base;
264 char fonts_index_path[64];
265 int nfonts;
263}; 266};
264 267
265/** 268/**