Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-09 | m5: Expose m5 pseudo-instructions to C/C++ via a static library | James Clarkson | |
Updated the util/m5/Makefile.arm so that m5op_arm.S is used to create a static library - libm5.a. Allowing users to insert m5 psuedo-instructions into their applications for fine-grained checkpointing, switching cpus or dumping statistics. e.g. #include <m5op.h> void foo(){ ... m5_reset_stats(<delay>,<period>) m5_work_begin(<workid>,<threadid>); ... m5_work_end(<workid>,<threadid>); m5_dump_stats(<delay>,<period>); } | |||
2012-09-07 | ARM: Fix the compiler and platform identification for building on ARM. | Ali Saidi | |
2011-09-13 | gem5ops: Implement Java JNI for gem5Ops | Prakash Ramrakhyani | |
These ops allow gem5 ops to be called from within java programs like the following: import jni.gem5Op; public class HelloWorld { public static void main(String[] args) { gem5Op gem5 = new gem5Op(); System.out.println("Rpns0:" + gem5.rpns()); System.out.println("Rpns1:" + gem5.rpns()); } static { System.loadLibrary("gem5OpJni"); } } When building you need to make sure classpath include gem5OpJni.jar: javac -classpath $CLASSPATH:/path/to/gem5OpJni.jar HelloWorld.java and when running you need to make sure both the java and library path are set: java -classpath $CLASSPATH:/path/to/gem5OpJni.jar -Djava.library.path=/path/to/libgem5OpJni.so HelloWorld | |||
2010-11-08 | ARM: Add support for M5 ops in the ARM ISA | Ali Saidi | |