Lines Matching refs:elapsed
12 uint32_t elapsed; // number of cycles for basic block
34 // This function is called from quicksort to compare the elapsed time
41 if (bb1->elapsed < bb2->elapsed)
43 if (bb1->elapsed > bb2->elapsed)
88 blocks[ii].elapsed = 0;
96 uint32_t elapsed = 0;
117 elapsed = sim_time - prev_time;
120 // Attribute the elapsed time to the previous instruction and
122 *cycle_ptr += elapsed;
123 *bb_elapsed_ptr += elapsed;
125 bb_elapsed_ptr = &bptr->elapsed;
132 // Sort the basic blocks into decreasing elapsed time
139 printf("bb %lld addr: 0x%x, insns: %d freq: %u elapsed: %u\n",
142 sorted[ii]->elapsed);
146 uint32_t elapsed = sorted[ii]->cycles[jj];
165 printf(" %4u %08x %04x %04x %s\n", elapsed, addr, insn,
169 printf(" %4u %08x %04x %s\n", elapsed, addr, insn,
175 printf(" %4u %08x %08x %s\n", elapsed, addr, insn, disasm);