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

/packages/inputmethods/LatinIME/native/src/
H A Ddefines.h32 #define PROF_BUF_SIZE 100 macro
33 static double profile_buf[PROF_BUF_SIZE];
34 static double profile_old[PROF_BUF_SIZE];
35 static unsigned int profile_counter[PROF_BUF_SIZE];
39 #define PROF_OPEN do { PROF_RESET; PROF_START(PROF_BUF_SIZE - 1); } while(0)
42 #define PROF_CLOSE do { PROF_END(PROF_BUF_SIZE - 1); PROF_OUTALL; } while(0)
49 for (int i = 0; i < PROF_BUF_SIZE; ++i) {
57 if (profile_counter[PROF_BUF_SIZE - 1] != 1) {
61 profile_buf[PROF_BUF_SIZE - 1] * 1000 / (double)CLOCKS_PER_SEC);
63 for (int i = 0; i < PROF_BUF_SIZE
77 #define PROF_BUF_SIZE macro
[all...]

Completed in 144 milliseconds