gridsim
Class GridStatistics

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eduni.simjava.Sim_entity
              |
              +--gridsim.GridSim
                    |
                    +--gridsim.GridStatistics

public class GridStatistics
extends GridSim

GridSim Statistics entity.


Inner Class Summary
 (package private) classGridStatistics.Order_by_category
          This class can be used to sort a LinkedList of Stat in ascending order
by the field category_field.
 (package private) classGridStatistics.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) classGridStatistics.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) classGridStatistics.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) classGridStatistics.Times
           

Fields inherited from class gridsim.GridSim
rand, SimulationStartDate

Fields inherited from class java.lang.Thread
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY

Constructor Summary
GridStatistics(String name)
           
GridStatistics(String name, String filename, boolean append, String[] exclude_from_file, String[] exclude_from_processing)
           

Method Summary
 Accumulatoraccumulate(String category)
           
 Accumulatoraccumulate(String category, String counter)
           
 voidbody()
           
 voidRecordStat(Stat stat)
           
 voidReturnAccStatByCategory(Sim_event ev)
           

Methods inherited from class gridsim.GridSim
Clock, GetEntityId, GetEntityName, GetGridResourceList, GetSimulationStartDate, GridInformationServiceEntityId, GridSimHold, GridSimShutdownEntityId, GridStatisticsEntityId, Init, IsNetworked, RecordStatistics, RecordStatistics, RecordStatistics, RecordStatistics, Start, Stop

Methods inherited from class eduni.simjava.Sim_entity
set_invisible, get_name, get_id, get_port, get_port, add_port, add_param, sim_hold, sim_hold_for, sim_trace, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_wait, sim_waiting, sim_waiting, sim_select, sim_cancel, sim_wait_for, sim_putback, sim_get_next, sim_get_next, sim_current, send_on, run

Methods inherited from class java.lang.Thread
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Constructor Detail

GridStatistics

public GridStatistics(String name)

GridStatistics

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

accumulate

public Accumulator accumulate(String category)

accumulate

public Accumulator accumulate(String category, String counter)

body

public void body()

RecordStat

public void RecordStat(Stat stat)

ReturnAccStatByCategory

public void ReturnAccStatByCategory(Sim_event ev)

Association Links

to Class java.io.PrintWriter

to Class java.util.LinkedList

to Class java.util.LinkedList

to Class java.util.LinkedList

to Class java.lang.String

to Class java.lang.String