#include <packet_flow_stats.h>
 | 
| void  | global_reduce_non_root (parallel_runtime *rt, int root, char *buffer, int buffer_size) | 
|   | 
| void  | collect_buffer_at_root (char *buffer, int buffer_size) | 
|   | 
| void  | output_switch (int sid, std::fstream &data_str, structured_topology *top) | 
|   | 
| void  | collect_counts_at_root (parallel_runtime *rt, int src, global_gather_stats_t stats) | 
|   | 
| void  | global_reduce_root (parallel_runtime *rt, global_gather_stats_t *stats, char *my_buffer, int my_buffer_size) | 
|   | 
 | 
| static stat_collector *  | optional_build (sprockit::sim_parameters *params, const std::string &ns, const std::string &deflt, const char *suffix) | 
|   | 
| static bool  | check_open (std::fstream &myfile, const std::string &fname, std::ios::openmode flags=std::ios::out) | 
|   | Check to see if the file is open.  More...
  | 
|   | 
| bool  | registered_ | 
|   | 
| int  | id_ | 
|   | 
| std::string  | fileroot_ | 
|   | 
Definition at line 180 of file packet_flow_stats.h.
 
  
  
      
        
          | sstmac::hw::stat_bytes_sent::stat_bytes_sent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | virtual sstmac::hw::stat_bytes_sent::~stat_bytes_sent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::clear  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::clone_into  | 
          ( | 
          stat_bytes_sent *  | 
          cln | ) | 
           const | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::collect_buffer_at_root  | 
          ( | 
          char *  | 
          buffer,  | 
         
        
           | 
           | 
          int  | 
          buffer_size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::dump_global_data  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
After post-processing, this notifies the collector to dump data to a file. 
- Parameters
 - 
  
    | name | The root of the filename to dump to  | 
  
   
Implements sstmac::stat_collector.
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::dump_local_data  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
After post-processing, this notifies the collector to dump data to a file. 
- Parameters
 - 
  
    | name | The root of the filename to dump to  | 
  
   
Implements sstmac::stat_collector.
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::global_reduce_non_root  | 
          ( | 
          parallel_runtime *  | 
          rt,  | 
         
        
           | 
           | 
          int  | 
          root,  | 
         
        
           | 
           | 
          char *  | 
          buffer,  | 
         
        
           | 
           | 
          int  | 
          buffer_size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::init_factory_params  | 
          ( | 
          sprockit::sim_parameters *  | 
          params | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::output_switch  | 
          ( | 
          int  | 
          sid,  | 
         
        
           | 
           | 
          std::fstream &  | 
          data_str,  | 
         
        
           | 
           | 
          structured_topology *  | 
          top  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::record  | 
          ( | 
          int  | 
          port,  | 
         
        
           | 
           | 
          long  | 
          bytes  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::set_topology  | 
          ( | 
          topology *  | 
          top | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void sstmac::hw::stat_bytes_sent::simulation_finished  | 
          ( | 
          timestamp  | 
          end | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
This is to notify that the statistics collector is done. 
Do any necessary data post-processing, but do NOT dump to file 
Implements sstmac::stat_collector.
 
 
  
  
      
        
          | sstmac::hw::stat_bytes_sent::FRIEND_SERIALIZATION | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | std::vector<port_map> sstmac::hw::stat_bytes_sent::global_aggregation_ | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | aggregation* sstmac::hw::stat_bytes_sent::local_aggregation_ | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | port_map sstmac::hw::stat_bytes_sent::port_map_ | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | topology* sstmac::hw::stat_bytes_sent::top_ | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: