A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
interface_statistics.StatisticsCollector Class Reference

StatisticsCollector class. More...

+ Inheritance diagram for interface_statistics.StatisticsCollector:
+ Collaboration diagram for interface_statistics.StatisticsCollector:

Classes

class  NetDevStats
 NetDevStats class. More...
 

Public Member Functions

 __init__ (self, visualizer)
 Collects interface statistics for all nodes.
 
 get_interface_statistics (self, nodeId)
 Get interface statistics function.
 
 simulation_periodic_update (self, viz)
 Simulation Periodic Update function.
 

Public Attributes

 node_statistics
 node statistics
 
 visualizer
 visualizer
 

Detailed Description

StatisticsCollector class.

Collects interface statistics for all nodes.

Definition at line 12 of file interface_statistics.py.

Constructor & Destructor Documentation

◆ __init__()

interface_statistics.StatisticsCollector.__init__ ( self,
visualizer )

Collects interface statistics for all nodes.

Parameters
selfthis object
visualizervisualizer object

Definition at line 36 of file interface_statistics.py.

Member Function Documentation

◆ get_interface_statistics()

interface_statistics.StatisticsCollector.get_interface_statistics ( self,
nodeId )

◆ simulation_periodic_update()

interface_statistics.StatisticsCollector.simulation_periodic_update ( self,
viz )

Simulation Periodic Update function.

Parameters
selfthis object
vizvisualizer object
Returns
none

Definition at line 45 of file interface_statistics.py.

References interface_statistics.StatisticsCollector.node_statistics.

Member Data Documentation

◆ node_statistics

interface_statistics.StatisticsCollector.node_statistics

◆ visualizer


The documentation for this class was generated from the following file: