Searched defs:PROF_BUF_SIZE (Results 1 - 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/
H A Ddefines.h143 #define PROF_BUF_SIZE 100 macro
144 static float profile_buf[PROF_BUF_SIZE];
145 static float profile_old[PROF_BUF_SIZE];
146 static unsigned int profile_counter[PROF_BUF_SIZE];
150 #define PROF_OPEN do { PROF_RESET; PROF_START(PROF_BUF_SIZE - 1); } while (0)
153 #define PROF_CLOSE do { PROF_END(PROF_BUF_SIZE - 1); PROF_OUTALL; } while (0)
160 for (int i = 0; i < PROF_BUF_SIZE; ++i) {
168 if (profile_counter[PROF_BUF_SIZE - 1] != 1) {
172 profile_buf[PROF_BUF_SIZE - 1] * 1000.0f / static_cast<float>(CLOCKS_PER_SEC));
174 for (int i = 0; i < PROF_BUF_SIZE
189 #define PROF_BUF_SIZE macro
[all...]

Completed in 640 milliseconds