| 
 | Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.util.MemoryProfiling
public class MemoryProfiling
Utility class to determine how much memory is used by any arbitrary block of code.
| Field Summary | |
|---|---|
| static java.lang.Class | CLASS_INSTANCE | 
| Method Summary | |
|---|---|
| static void | clearLog() | 
| static void | dumpLog()Output the memory profiling operation to one or more output channels via Trace | 
| static void | setGCBeforeStart(boolean v)Should System.gc() be called just before profiling starts? Default is false. | 
| static void | start(java.lang.String msg)Start a memory profiling operation by determining how much free and total memory is available. | 
| static void | start(java.lang.String categoryName,
      java.lang.String msg) | 
| static void | stop()End a memory profiling operation and determine how much free and total memory was consumed since the last call to start() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.Class CLASS_INSTANCE
| Method Detail | 
|---|
public static final void setGCBeforeStart(boolean v)
v - public static final void start(java.lang.String msg)
msg - Any arbitrary tag to associate with this operation
public static final void start(java.lang.String categoryName,
                               java.lang.String msg)
public static final void stop()
public static final void dumpLog()
public static final void clearLog()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||