1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Mass_parse: Add perf logger

This commit is contained in:
gnosygnu
2017-01-12 13:26:35 -05:00
parent 305c2f9762
commit d22c5e5f3d
6 changed files with 38 additions and 16 deletions

View File

@@ -22,6 +22,7 @@ public class Runtime_ {
public static long Memory_max() {return Runtime.getRuntime().maxMemory();}
public static long Memory_total() {return Runtime.getRuntime().totalMemory();}
public static long Memory_free() {return Runtime.getRuntime().freeMemory();}
public static long Memory_used() {return Memory_total() - Memory_free();} // REF:http://stackoverflow.com/questions/3571203/what-are-runtime-getruntime-totalmemory-and-freememory
public static void Exec(String v) {
try {