bcds.phison.sim
Class PmTraceLinkUsage<V,E>
java.lang.Object
bcds.phison.sim.PmBase<V,E>
bcds.phison.sim.PmTraceLinkUsage<V,E>
- All Implemented Interfaces:
- ProcessingModule<V,E>, WithEnvParams
public class PmTraceLinkUsage<V,E>
- extends PmBase<V,E>
- implements ProcessingModule<V,E>
Prints:
- A frequency table of the usage of each link. Those never used are
omitted by default, but .show_unused_links can be set to change that.
- The average and peak network utilization (total capacity utilization),
measured after each connection creation, of show_network_utilization
is set (default=false). NOTE that this may be slow for large
networks.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmTraceLinkUsage
public PmTraceLinkUsage()
run
public void run(SimEvents evtype,
ConnectionInfo<V,E> rq)
- Description copied from class:
PmBase
- Empty implementation.
- Specified by:
run
in interface ProcessingModule<V,E>
- Overrides:
run
in class PmBase<V,E>
shutdown
public void shutdown()
- Description copied from class:
PmBase
- Empty implementation.
- Specified by:
shutdown
in interface ProcessingModule<V,E>
- Overrides:
shutdown
in class PmBase<V,E>
getEnvParams
public java.lang.Object[] getEnvParams()
- Description copied from class:
PmBase
- Returns an empty array. This is the default implementation,
suitable for modules that do not need additional
environment parameters.
- Specified by:
getEnvParams
in interface WithEnvParams
- Overrides:
getEnvParams
in class PmBase<V,E>