22 #ifndef OTAWA_PROC_PROGRESS_H_
23 #define OTAWA_PROC_PROGRESS_H_
25 #include <elm/string.h>
45 virtual void stop(
void) = 0;
46 virtual void report(
string info,
int level) = 0;
47 virtual void restart(
string info) = 0;
This class is an interface to get progress information about execution of a processor.
Definition: Progress.h:33
virtual void restart(string info)=0
This method is only called in otawa::Processor::fixpoint mode at each step start. ...
Definition: Progress.h:36
Definition: Progress.h:38
virtual void stop(void)=0
Called at the end of the work.
virtual void report(string info, int level)=0
Called each time to inform about the progression.
Definition: Progress.h:37
The processor class is implemented by all code processor.
Definition: Processor.h:49
virtual void start(const Processor &processor, mode_t mode, int max=0)=0
This method is called when the processor is starting.
static Progress & null
Progress handler that do nothing.
Definition: Progress.h:42
mode_t
Definition: Progress.h:35
Definition: Progress.h:39
intn_t max(intn_t a, intn_t b)
Return the max with a signed comparison.
Definition: clp_analysis.cpp:180