Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/MSCLogTest.c')
-rw-r--r--examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/MSCLogTest.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/MSCLogTest.c b/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/MSCLogTest.c
new file mode 100644
index 000000000..a7bc55404
--- /dev/null
+++ b/examples/org.eclipse.etrice.generator.c.reference/src/test/experiments/MSCLogTest.c
@@ -0,0 +1,28 @@
+
+#include "etLogger.h"
+#include "etMSCLogger.h"
+
+void Class2_ff(void) {
+ ET_MSC_LOGGER_SYNC_ENTRY("Class2", "ff")
+
+ ET_MSC_LOGGER_SYNC_EXIT()
+}
+
+void CLass1_f(void) {
+ ET_MSC_LOGGER_SYNC_ENTRY("Class1", "f")
+ Class2_ff();
+ ET_MSC_LOGGER_SYNC_EXIT()
+}
+
+//int main(void) {
+//
+// etLogger_logInfo("*** T H E B E G I N ***");
+//
+// ET_MSC_LOGGER_OPEN("main");
+// CLass1_f();
+// ET_MSC_LOGGER_CLOSE
+//
+// etLogger_logInfo("*** T H E E N D ***");
+//
+// return 0;
+//}

Back to the top