[core] Add the Utils.getGCTotalTime() method for showing how long
the JVM spent in GC. It now prints the time and percent of time in the final output. Also fix cases where the garbage collector implementation returns -1 if the count or time isn't implemented.
Showing
- core/src/main/java/com/yahoo/ycsb/Client.java 7 additions, 0 deletionscore/src/main/java/com/yahoo/ycsb/Client.java
- core/src/main/java/com/yahoo/ycsb/Utils.java 17 additions, 0 deletionscore/src/main/java/com/yahoo/ycsb/Utils.java
- core/src/test/java/com/yahoo/ycsb/TestUtils.java 2 additions, 0 deletionscore/src/test/java/com/yahoo/ycsb/TestUtils.java
Loading
Please register or sign in to comment