Commit 24c9596b authored by Kevin Modzelewski's avatar Kevin Modzelewski

Add deopt timer

parent f8283fb1
...@@ -166,6 +166,8 @@ bool PyLt::operator()(Box* lhs, Box* rhs) const { ...@@ -166,6 +166,8 @@ bool PyLt::operator()(Box* lhs, Box* rhs) const {
} }
extern "C" Box* deopt(AST_expr* expr, Box* value) { extern "C" Box* deopt(AST_expr* expr, Box* value) {
STAT_TIMER(t0, "us_timer_deopt", 10);
static StatCounter num_deopt("num_deopt"); static StatCounter num_deopt("num_deopt");
num_deopt.log(); num_deopt.log();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment