Merge pull request #2394 from Sonicadvance1/android_block_profiling_api

[Android] Block profiling JNI interface
This commit is contained in:
Ryan Houdek
2015-05-25 23:06:37 -04:00
3 changed files with 37 additions and 0 deletions

View File

@ -206,6 +206,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);