mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
a number of low-level tweaks from code review
This commit is contained in:
parent
c10737d168
commit
b6daf14868
12 changed files with 79 additions and 80 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue