a number of low-level tweaks from code review

This commit is contained in:
Vern Paxson 2021-08-19 10:15:44 -07:00
parent c10737d168
commit b6daf14868
12 changed files with 79 additions and 80 deletions

View file

@ -316,7 +316,7 @@ ValPtr ZBody::DoExec(Frame* f, int start_pc, StmtFlowType& flow)
if ( do_profile )
{
double dt = curr_CPU_time() - profile_CPU;
(*inst_CPU)[profile_pc] += dt;
inst_CPU->at(profile_pc) += dt;
ZOP_CPU[z.op] += dt;
}
#endif