org.cougaar.core.qos.profile
Class NodeTraffic

java.lang.Object
  extended by org.cougaar.util.GenericStateModelAdapter
      extended by org.cougaar.core.qos.profile.ProfilerBase
          extended by org.cougaar.core.qos.profile.NodeTraffic
All Implemented Interfaces:
org.cougaar.core.component.Component, ProfilerService.Client, org.cougaar.util.GenericStateModel

public class NodeTraffic
extends ProfilerBase

This component profiles the aggregate message traffic of all local agents to any target.

Example output:

 
   nt - #send_avg_queue_len,
     send_msg_bytes, send_header_bytes, send_ack_bytes, send_bytes, send_node_count, send_count, 
     recv_msg_bytes, recv_header_bytes, recv_ack_bytes, recv_bytes, recv_node_count, recv_count, 
     histogram_100_bytes, histogram_200_bytes, histogram_500_bytes, histogram_1000_bytes, histogram_2000_bytes, histogram_5000_bytes, histogram_10000_bytes, histogram_20000_bytes, histogram_50000_bytes, histogram_100000_bytes, histogram_200000_bytes, histogram_500000_bytes, histogram_1000000_bytes, histogram_2000000_bytes, histogram_5000000_bytes, histogram_10000000_bytes,
   nt - 0.87,
     228327741, 87931736, 87931242, 404190719, 552, 178546,
     161952252, 87931242, 93093562, 342977056, 552, 178545,
     0, 0, 2, 70, 177922, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 

See Also:
required coordinator component

Field Summary
 org.cougaar.core.service.MessageStatisticsService mss
           
 
Fields inherited from class org.cougaar.core.qos.profile.ProfilerBase
align, header, sb
 
Fields inherited from interface org.cougaar.util.GenericStateModel
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED
 
Constructor Summary
NodeTraffic()
           
 
Method Summary
 void load()
           
 void run()
           
 
Methods inherited from class org.cougaar.core.qos.profile.ProfilerBase
findServiceLater, getRunCount, log, setServiceBroker, toHeader
 
Methods inherited from class org.cougaar.util.GenericStateModelAdapter
getModelState, halt, initialize, resume, start, stop, suspend, transitState, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cougaar.util.GenericStateModel
getModelState, halt, initialize, resume, start, stop, suspend, unload
 

Field Detail

mss

public org.cougaar.core.service.MessageStatisticsService mss
Constructor Detail

NodeTraffic

public NodeTraffic()
Method Detail

load

public void load()
Specified by:
load in interface org.cougaar.util.GenericStateModel
Overrides:
load in class ProfilerBase

run

public void run()
Specified by:
run in interface ProfilerService.Client
Specified by:
run in class ProfilerBase