Permalink
Browse files

Fix enormous time for first statement.

The time wasn't being initialised under the new op replacement method.
  • Loading branch information...
1 parent 41d3c23 commit 53300b7f5650918320bef5c0d3ccf4c24640554b @pjcj committed Apr 30, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 Cover.xs
View
@@ -1434,6 +1434,11 @@ BOOT:
initialise(aTHX);
if (MY_CXT.replace_ops) {
replace_ops(aTHX);
+#if defined HAS_GETTIMEOFDAY
+ elapsed();
+#elif defined HAS_TIMES
+ cpu();
+#endif
}
else {
PL_runops = runops_cover;

0 comments on commit 53300b7

Please sign in to comment.