Logs statistics for predicates. The statistics are displayed on exit if the command line flag "sys:statistics" is set. It is used as follows in a predicate:  
 More...
#include <geogram/numerics/PCK.h>
Logs statistics for predicates. The statistics are displayed on exit if the command line flag "sys:statistics" is set. It is used as follows in a predicate: 
void my_predicate(...) {
   my_predicate.log_invoke();
   
   {
         return s;
      }
   }
   
   {
      stats.log_exact();
         return s;
      }
   }
   
   {
      stats.log_SOS();
      ...
   }
}
Logs statistics for predicates. The statistics are displayed on exit if the command line flag "sys:st...
 
Sign
Integer constants that represent the sign of a value.
 
  
Definition at line 122 of file PCK.h.
 
◆ PredicateStats()
  
  
      
        
          | GEO::PCK::PredicateStats::PredicateStats  | 
          ( | 
          const char *  | 
          name | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ log_exact()
  
  
      
        
          | void GEO::PCK::PredicateStats::log_exact  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ log_invoke()
  
  
      
        
          | void GEO::PCK::PredicateStats::log_invoke  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ log_SOS()
  
  
      
        
          | void GEO::PCK::PredicateStats::log_SOS  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ show_all_stats()
  
  
      
        
          | static void GEO::PCK::PredicateStats::show_all_stats  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
The documentation for this class was generated from the following file: