|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.piccolo.util.PDebug
public class PDebug
PDebug is used to set framework wide debugging flags.
Field Summary | |
---|---|
static boolean |
debugBounds
|
static boolean |
debugFullBounds
|
static boolean |
debugPaintCalls
|
static boolean |
debugPrintFrameRate
|
static boolean |
debugPrintUsedMemory
|
static boolean |
debugRegionManagement
|
static boolean |
debugThreads
|
static int |
printResultsFrameRate
|
Method Summary | |
---|---|
static void |
endProcessingInput()
|
static void |
endProcessingOutput(java.awt.Graphics g)
|
static long |
getApproximateUsedMemory()
|
static java.awt.Color |
getDebugPaintColor()
|
long |
getFramesProcessed()
Return the number of frames that have been processed since the last time resetFPSTiming was called. |
static double |
getInputFPS()
Return the frames per second used to process input events and activities. |
static double |
getOutputFPS()
Return the frames per seconds used to paint graphics to the screen. |
static boolean |
getProcessingOutput()
|
static double |
getTotalFPS()
Return how many frames are processed and painted per second. |
static void |
processRepaint()
|
static void |
resetFPSTiming()
Reset the variables used to track FPS. |
static void |
scheduleProcessInputs()
|
static void |
startProcessingInput()
|
static void |
startProcessingOutput()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean debugRegionManagement
public static boolean debugPaintCalls
public static boolean debugPrintFrameRate
public static boolean debugPrintUsedMemory
public static boolean debugBounds
public static boolean debugFullBounds
public static boolean debugThreads
public static int printResultsFrameRate
Method Detail |
---|
public static java.awt.Color getDebugPaintColor()
public static void scheduleProcessInputs()
public static void processRepaint()
public static boolean getProcessingOutput()
public static void startProcessingOutput()
public static void endProcessingOutput(java.awt.Graphics g)
public static void startProcessingInput()
public static void endProcessingInput()
public static double getTotalFPS()
public static double getInputFPS()
public static double getOutputFPS()
public long getFramesProcessed()
public static void resetFPSTiming()
public static long getApproximateUsedMemory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |