Home
last modified time | relevance | path

Searched refs:PROF_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h60 #define PROF_BUF_SIZE 100 macro
61 static float profile_buf[PROF_BUF_SIZE];
62 static float profile_old[PROF_BUF_SIZE];
63 static unsigned int profile_counter[PROF_BUF_SIZE];
67 #define PROF_OPEN do { PROF_RESET; PROF_START(PROF_BUF_SIZE - 1); } while(0)
70 #define PROF_CLOSE do { PROF_END(PROF_BUF_SIZE - 1); PROF_OUTALL; } while(0)
77 for (int i = 0; i < PROF_BUF_SIZE; ++i) { in prof_reset()
85 if (profile_counter[PROF_BUF_SIZE - 1] != 1) { in prof_out()
89 profile_buf[PROF_BUF_SIZE - 1] * 1000 / (float)CLOCKS_PER_SEC); in prof_out()
91 for (int i = 0; i < PROF_BUF_SIZE - 1; ++i) { in prof_out()
[all …]