|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.MemoryMonitor
public class MemoryMonitor
This plugin continuously plots ImageJ's memory
utilization. It could also be used as a starting
point for a video acquisition plugin. Hold down the
alt/option key when selecting the Monitor Memory
command and the plugin will use a 640x480 window
and display the frame rate. Click on the status bar in the
ImageJ window to force the JVM to do garbage collection.
Field Summary | |
---|---|
(package private) long |
elapsedTime
|
(package private) long |
fps
|
(package private) int |
frames
|
(package private) int |
height
|
(package private) ij.gui.ImageCanvas |
ic
|
(package private) int |
index
|
(package private) ImageProcessor |
ip
|
(package private) int |
max
|
(package private) long |
maxMemory
|
(package private) float[] |
mem
|
(package private) long |
startTime
|
(package private) long |
value
|
(package private) int |
width
|
Constructor Summary | |
---|---|
MemoryMonitor()
|
Method Summary | |
---|---|
void |
run(java.lang.String arg)
This method is called when the plugin is loaded. |
(package private) void |
showValue()
|
(package private) void |
updatePixels()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int width
int height
long fps
long startTime
long elapsedTime
ImageProcessor ip
int frames
ij.gui.ImageCanvas ic
float[] mem
int index
long value
int max
long maxMemory
Constructor Detail |
---|
public MemoryMonitor()
Method Detail |
---|
public void run(java.lang.String arg)
PlugIn
run
in interface PlugIn
void showValue()
void updatePixels()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |