gridsim
Class GridStatistics

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eduni.simjava.Sim_entity
              |
              +--gridsim.GridSim
                    |
                    +--gridsim.GridStatistics
All Implemented Interfaces:
java.lang.Runnable

public class GridStatistics
extends GridSim

GridSim Statistics entity.


Nested Class Summary
(package private)  class GridStatistics.Order_by_category
          This class can be used to sort a LinkedList of Stat in ascending order by the field category_field.
(package private)  class GridStatistics.Order_by_category_data
          This class can be used to sort a LinkedList of Stat in ascending order by the field category_field_data.
(package private)  class GridStatistics.Order_by_category_name
          This class can be used to sort a LinkedList of Stat in ascending order by the field category_name_field.
(package private)  class GridStatistics.Order_by_category_name_data
          This class can be used to sort a LinkedList of Stat in ascending order by the field category_name_data.
(package private)  class GridStatistics.Times
           
 
Field Summary
 
Fields inherited from class gridsim.GridSim
input, output, rand, SimulationStartDate
 
Fields inherited from class eduni.simjava.Sim_entity
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GridStatistics(java.lang.String name)
           
GridStatistics(java.lang.String name, java.lang.String filename, boolean append, java.lang.String[] exclude_from_file, java.lang.String[] exclude_from_processing)
           
 
Method Summary
 gridsim.Accumulator accumulate(java.lang.String category)
           
 gridsim.Accumulator accumulate(java.lang.String category, java.lang.String counter)
           
 void body()
           
 void RecordStat(gridsim.Stat stat)
           
 void ReturnAccStatByCategory(eduni.simjava.Sim_event ev)
           
 
Methods inherited from class gridsim.GridSim
Clock, finalize, GetEntityId, GetEntityName, GetEntityName, GetGridResourceList, GetResourceCharacteristics, GetResourceDynamicInformation, GetSimulationStartDate, GridInformationServiceEntityId, GridletCancel, GridletReceive, GridletSubmit, GridSimHold, GridSimShutdownEntityId, GridStatisticsEntityId, Init, IsNetworked, ReceiveEventObject, ReceiveEventObject, RecordStatistics, RecordStatistics, RecordStatistics, RecordStatistics, Send, Send, Send, Send, Send, Send, ShutdownGridStatisticsEntity, ShutdownUserEntity, Start, Stop, TerminateInputOutputEntities
 
Methods inherited from class eduni.simjava.Sim_entity
add_param, add_port, get_id, get_name, get_port, get_port, run, send_on, set_invisible, sim_cancel, sim_current, sim_get_next, sim_get_next, sim_hold_for, sim_hold, sim_putback, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_select, sim_trace, sim_wait_for, sim_wait, sim_waiting, sim_waiting
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridStatistics

public GridStatistics(java.lang.String name)

GridStatistics

public GridStatistics(java.lang.String name,
                      java.lang.String filename,
                      boolean append,
                      java.lang.String[] exclude_from_file,
                      java.lang.String[] exclude_from_processing)
Method Detail

accumulate

public gridsim.Accumulator accumulate(java.lang.String category)

accumulate

public gridsim.Accumulator accumulate(java.lang.String category,
                                      java.lang.String counter)

body

public void body()
Overrides:
body in class eduni.simjava.Sim_entity

RecordStat

public void RecordStat(gridsim.Stat stat)

ReturnAccStatByCategory

public void ReturnAccStatByCategory(eduni.simjava.Sim_event ev)