Commit 04df5e62 authored by Lukáš Marek's avatar Lukáš Marek

reverted accidentally commited files

parent f004e6fc
......@@ -27,7 +27,7 @@ LINK_SHARED=$(LINK.c) -shared -o $@
# GNU Compiler options needed to build it
COMMON_FLAGS=-fPIC
# Options that help find errors
COMMON_FLAGS+= -W -Wall -Wextra -O3 -Wno-unused-parameter -lpthread -lrt
COMMON_FLAGS+= -W -Wall -Wextra -O3 -Wno-unused-parameter -lpthread
CFLAGS += $(COMMON_FLAGS)
......
package ch.usi.dag.disl.test.dispatch2;
import ch.usi.dag.dislre.jb.REDispatchJ;
import ch.usi.dag.dislre.REDispatch;
// Optimally, this class is automatically created on analysis machine
// and redefines during loading the CodeExecuted class on the client vm
......@@ -9,27 +9,27 @@ import ch.usi.dag.dislre.jb.REDispatchJ;
// functionality
public class CodeExecutedRE {
private static short ieId = REDispatchJ.registerMethod(
private static short ieId = REDispatch.registerMethod(
"ch.usi.dag.disl.test.dispatch2.CodeExecuted.intEvent");
private static short oeId = REDispatchJ.registerMethod(
private static short oeId = REDispatch.registerMethod(
"ch.usi.dag.disl.test.dispatch2.CodeExecuted.objectEvent");
public static void intEvent(int num) {
REDispatchJ.analysisStart(ieId);
REDispatch.analysisStart(ieId);
REDispatchJ.sendInt(num);
REDispatch.sendInt(num);
REDispatchJ.analysisEnd();
REDispatch.analysisEnd();
}
public static void objectEvent(Object o) {
REDispatchJ.analysisStart(oeId);
REDispatch.analysisStart(oeId);
REDispatchJ.sendObject(o);
REDispatch.sendObject(o);
REDispatchJ.analysisEnd();
REDispatch.analysisEnd();
}
}
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