[ClavaLaraApi] Adds reset option to MemoiProf
import clava.memoi._MemoiProfHelper;
-
+import clava.Clava;
import clava.ClavaJoinPoints;
import lara.Strings;
import lara.util.PrintOnce;
@@ -41,6 +41,10 @@ function MemoiProf(targetSig, id, reportDir) {
MemoiProf._reportCodeDone = false;
+MemoiProf.resetReportCode = function() {
+ MemoiProf._reportCodeDone = false;
+};
+
/**
* The C data types the memoization instrumentation library can handle.
*
