New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / compiler / errors / timing.hh
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/compiler/errors/timing.hh b/interpretor/preprocessor/faust-0.9.47mr3/compiler/errors/timing.hh
new file mode 100644 (file)
index 0000000..4b54a59
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __TIMING__
+#define __TIMING__
+
+
+// use startTiming("foo") and endTiming("foo") to measure the execution time of a portion of code
+// edit timing.cpp de unactivate the code
+
+void startTiming (const char* msg);
+
+void endTiming (const char* msg);
+
+#endif
+
+