org.cougaar.core.qos.profile
Class Throughput

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

public class Throughput
extends ProfilerBase

This component profiles the aggregate "messages per second" throughput for all agents on the local node.

Example output:

   throughput - #agent_send_count_per_second, total_send_count_per_second,
     agent_send_count, total_send_count,
   throughput - 160.89, 161.11,
     2913, 2929
 

For more detailed message traffic profiling, see the NodeTraffic profiler.

This profiler is useful in ping testing, where the first field will show the total ping throughput in messages per second (assuming all ping agents are non-node agents, to exclude naming service traffic).

See Also:
required coordinator component

Field Summary
 org.cougaar.core.mts.AgentStatusService as
           
 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
Throughput()
           
 
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

as

public org.cougaar.core.mts.AgentStatusService as
Constructor Detail

Throughput

public Throughput()
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