|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.core.Component org.simBio.core.Parameter org.simBio.core.Composite org.simBio.core.Analyzer org.simBio.sim.analyzer.StopWatch
public class StopWatch
Field Summary | |
---|---|
Node |
elapsedTime
|
Node |
lapTime
|
Node |
totalTime
|
Fields inherited from class org.simBio.core.Parameter |
---|
value |
Constructor Summary | |
---|---|
StopWatch()
|
Method Summary | |
---|---|
protected void |
analyze(double t)
Please implements this Method to manipulate Nodes. |
protected void |
end()
called at the end of integration, 計算終了時に呼ばれます。 |
protected void |
lap()
|
protected void |
prepare()
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。 |
protected void |
quit()
called before destruction, instanceを破棄する前に呼び出されます。 |
void |
ratio()
|
protected void |
reset()
|
protected void |
setLinks()
called after instance tree was constructed, getNode, getLink here, インスタンスツリー作成後に呼び出される, |
Methods inherited from class org.simBio.core.Composite |
---|
accept, getLink, getNode, getNodesIterator, getNodesSize |
Methods inherited from class org.simBio.core.Parameter |
---|
addValue, getValue, getValueString, setInitializer, setValue, setValueString, setValueToField |
Methods inherited from class org.simBio.core.Component |
---|
addDydt, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.simBio.core.Node |
---|
addDydt, addValue, getValue, setValue |
Field Detail |
---|
public Node lapTime
public Node totalTime
public Node elapsedTime
Constructor Detail |
---|
public StopWatch()
Method Detail |
---|
protected void lap()
public void ratio()
protected void setLinks()
Component
setLinks
in class Component
protected void analyze(double t)
Analyzer
analyze
in class Analyzer
t
- timeConductor.integrate()
protected void reset()
protected void prepare()
Parameter
prepare
in class Parameter
Component.prepare()
protected void end()
Component
end
in class Component
protected void quit()
Component
quit
in class Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |