Lines Matching defs:pc
47 profiler_entries[i].pc = 0;
62 if (profiler_entries[i].pc != 0) {
72 void profiler_record_sample(word_t pc)
78 if (!profiler_entries[checkpoint].pc) {
79 profiler_entries[checkpoint].pc = 1;
90 profiler_entries[i].pc = 0;
110 if (profiler_entries[i].pc != 0) {
111 printf("%x %d\n", (unsigned int)profiler_entries[i].pc,
129 void profiler_record_sample(word_t pc)
140 word_t hash = (pc >> 2) % MAX_UNIQUE_INSTRUCTIONS;
141 word_t hash2 = ((pc >> 2) % hashVal) + 1;
149 if (profiler_entries[hash].pc == pc) {
155 } else if (profiler_entries[hash].pc == 0) {
159 profiler_entries[hash].pc = pc;