Define a metric source, storing char pointers requires the original strings to be valid for entire lifetime of a metric (global variable), or the strings themselves to be string literals (hardcoded), the advantage is no (de)allocation code is needed here.  
 More...
#include <psi_metric_bits.h>
Define a metric source, storing char pointers requires the original strings to be valid for entire lifetime of a metric (global variable), or the strings themselves to be string literals (hardcoded), the advantage is no (de)allocation code is needed here. 
 
◆ m_description
      
        
          | const char* PSI_metric_info_v1::m_description | 
        
      
 
 
◆ m_flags
      
        
          | unsigned int PSI_metric_info_v1::m_flags | 
        
      
 
 
◆ m_key
◆ m_measurement_callback
◆ m_measurement_context
      
        
          | void* PSI_metric_info_v1::m_measurement_context | 
        
      
 
 
◆ m_metric
      
        
          | const char* PSI_metric_info_v1::m_metric | 
        
      
 
 
◆ m_metric_type
◆ m_num_type
◆ m_unit
      
        
          | const char* PSI_metric_info_v1::m_unit | 
        
      
 
 
The documentation for this struct was generated from the following file: