Definition at line 18 of file perf_monitor.hpp.
 
 | 
|   | PerfMonitor (unsigned int batch_size, uint64_t interval, const std::string src_type, bool show_name=true) | 
|   | constructor for a performance monitor instance  More...
  | 
|   | 
| virtual  | ~PerfMonitor () | 
|   | 
| void  | apply (Element &element, const std::string &tips) | 
|   | Apply the performance monitory on an element.  More...
  | 
|   | 
| void  | pause () | 
|   | Pause the monitor.  More...
  | 
|   | 
| void  | resume () | 
|   | Resume the monitor.  More...
  | 
|   | 
| void  | addStream (uint32_t source_id, const char *uri, const char *sensor_id, const char *sensor_name) | 
|   | Add a new stream.  More...
  | 
|   | 
| void  | removeStream (uint32_t source_id) | 
|   | Add a new stream.  More...
  | 
|   | 
| void  | print (void *info) | 
|   | 
◆ PerfMonitor()
      
        
          | deepstream::PerfMonitor::PerfMonitor  | 
          ( | 
          unsigned int  | 
          batch_size,  | 
        
        
           | 
           | 
          uint64_t  | 
          interval,  | 
        
        
           | 
           | 
          const std::string  | 
          src_type,  | 
        
        
           | 
           | 
          bool  | 
          show_name = true  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
constructor for a performance monitor instance 
- Parameters
 - 
  
    | [in] | batch_size | batch size of the pipeline  | 
    | [in] | interval | monitor interval in seconds  | 
    | [in] | src_type | type name of the source bin  | 
    | [in] | show_name | show the stream name in perf log  | 
  
   
 
 
◆ ~PerfMonitor()
  
  
      
        
          | virtual deepstream::PerfMonitor::~PerfMonitor  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ addStream()
      
        
          | void deepstream::PerfMonitor::addStream  | 
          ( | 
          uint32_t  | 
          source_id,  | 
        
        
           | 
           | 
          const char *  | 
          uri,  | 
        
        
           | 
           | 
          const char *  | 
          sensor_id,  | 
        
        
           | 
           | 
          const char *  | 
          sensor_name  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ apply()
      
        
          | void deepstream::PerfMonitor::apply  | 
          ( | 
          Element &  | 
          element,  | 
        
        
           | 
           | 
          const std::string &  | 
          tips  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Apply the performance monitory on an element. 
- Parameters
 - 
  
    | [in] | element | reference to the targeted element  | 
    | [in] | tips | name of the pad  | 
  
   
 
 
◆ pause()
      
        
          | void deepstream::PerfMonitor::pause  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ print()
      
        
          | void deepstream::PerfMonitor::print  | 
          ( | 
          void *  | 
          info | ) | 
           | 
        
      
 
 
◆ removeStream()
      
        
          | void deepstream::PerfMonitor::removeStream  | 
          ( | 
          uint32_t  | 
          source_id | ) | 
           | 
        
      
 
 
◆ resume()
      
        
          | void deepstream::PerfMonitor::resume  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ batch_size_
  
  
      
        
          | unsigned int deepstream::PerfMonitor::batch_size_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ fps_data_
  
  
      
        
          | void* deepstream::PerfMonitor::fps_data_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ interval_sec_
  
  
      
        
          | uint64_t deepstream::PerfMonitor::interval_sec_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ priv_
  
  
      
        
          | void* deepstream::PerfMonitor::priv_ | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: