Add JNI interface for enabling writing block profile results.

This commit is contained in:
Ryan Houdek 2015-05-10 20:03:34 -05:00
parent 0da086e389
commit a36dc19d9b
2 changed files with 30 additions and 0 deletions

View file

@ -202,6 +202,17 @@ public final class NativeLibrary
/** Stops emulation. */
public static native void StopEmulation();
/**
* Enables or disables CPU block profiling
* @param enable
*/
public static native void SetProfiling(boolean enable);
/**
* Writes out the block profile results
*/
public static native void WriteProfileResults();
/** Native EGL functions not exposed by Java bindings **/
public static native void eglBindAPI(int api);