CBMC
solver_progress.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Solver Progress Reporting
4 
5 Author: Daniel Kroening, dkr@amazon.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CPROVER_SOLVER_PROGRESS_H
13 #define CPROVER_CPROVER_SOLVER_PROGRESS_H
14 
15 #include <cstddef>
16 
18 {
19 public:
20  solver_progresst(std::size_t __total, bool __verbose)
21  : total(__total), verbose(__verbose)
22  {
23  }
24 
25  void operator()(std::size_t current);
26  void finished();
27 
28 private:
29  bool first = true;
30  std::size_t total = 0;
31  bool verbose;
32 };
33 
34 #endif // CPROVER_CPROVER_SOLVER_PROGRESS_H
void operator()(std::size_t current)
std::size_t total
solver_progresst(std::size_t __total, bool __verbose)