|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Date | +--atropos.lp.AvnmpTime | +--atropos.lp.AvnmpDebug | +--atropos.gvt.Gvt | +--atropos.lp.AvnmpLP | +--atropos.pp.PP
This class implements a physical process for test purposes.
This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Inner classes inherited from class atropos.lp.AvnmpLP |
AvnmpLP.ParmTable, AvnmpLP.parmTime |
Fields inherited from class atropos.lp.AvnmpLP |
context, gvtupdate, islp, lookahead, LpNum, lvt, name, numAnti, numCausalityRb, numPackets, numToleranceRb, outq_size, parmTable, procList, ReRate, start_time, stateq, stepsize, terminal, Tla, tolerance, Tspeedup, Ttrb, Tttask, vminq, vmoutq, VmRate |
Fields inherited from class atropos.gvt.Gvt |
COLLECTMIN, GvtReportInput, GvtUpdateRequest, GvtUpdateResponse, IDLE, lm, REPORTLOCAL, START |
Fields inherited from class atropos.lp.AvnmpDebug |
dlevel, DRIVER_D, GVT_D, html, LP_D, LPSTATE_D, MEASURE_D, NodeName, PACKET_D, PAYLOAD_D, PP_D, PREDM_D, RECQ_D, ROLLBACK_D, SNDQ_D, STATEQ_D, SYSTEM_D, TIME_D, TOLERANCE_D |
Fields inherited from interface atropos.lp.ConfigInterface |
Dvm, initTolerance, logdir, lvm, ootLimit, pdir, rmlog, rmplots, rmsnmp, runMinutes, snmpdir, VirtualMessageRatio |
Constructor Summary | |
PP(java.lang.String n,
java.lang.String netname)
Construct the logical process for this physical process. |
Method Summary | |
PayLoad |
Compute(PayLoad pl)
Note that for testing we send and receive pure error. |
java.lang.Double |
getPPstate()
Get the physical process state. |
int |
portTable()
A translation from current node name to port number to watch. |
double |
recvRateCurrent()
The current receive rate over the last half second. |
long |
recvRateToDate(int port)
Return the average received rate since startup. |
void |
setPPstate(java.lang.Double is)
Set the physical process state. |
Methods inherited from class atropos.lp.AvnmpLP |
checkParameterTimes, displayConfiguration, displayLvt, displayLVT, displayQueues, finalize, getCausalityRollbacks, getGenRate, getlvt, getnext, getRealTime, getRecQSize, getSndQSize, getstate, getStateQSize, getTolerance, getToleranceRollbacks, getvm, inputvm, isDriver, isLP, isQuitTime, logState, myname, savestate, setGenRate, setGVTUpdate, setLookahead, setParameterTimes, setProcList, setStepsize, toString |
Methods inherited from class atropos.gvt.Gvt |
addProcs, calcLocalMinimum, collectMinima, getNumProcs, getNumUpdates, getProcReport, getState, getTimeSinceLastUpdate, getUpdateInterval, isDone, isUpdateTime, reportIn, reportLocalMinimum, resetGvt, startGvt, storeIn, storeOut |
Methods inherited from class atropos.lp.AvnmpDebug |
debugType, log, log, log, log, measure, resetLog, setLevel, writeLog |
Methods inherited from class atropos.lp.AvnmpTime |
add, adjustRelative, diff, now, resetRelative, set, startTime, time |
Methods inherited from class java.util.Date |
after, before, clone, compareTo, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PP(java.lang.String n, java.lang.String netname)
n
- The process name.context
- The SNMP agent context.netname
- The network node name.Method Detail |
public long recvRateToDate(int port)
port
- The port upon which to check the input rate.public double recvRateCurrent()
public int portTable()
portTable
in class AvnmpLP
public PayLoad Compute(PayLoad pl)
Compute
in class AvnmpLP
pl
- The payload of the virtual messagepublic java.lang.Double getPPstate()
getPPstate
in class AvnmpLP
public void setPPstate(java.lang.Double is)
setPPstate
in class AvnmpLP
is
- Input state to be restored.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |