21 #ifndef OTAWA_PROC_MONITOR_H_
22 #define OTAWA_PROC_MONITOR_H_
61 void configure(
const PropList& props);
log_level_t logLevel(void) const
Definition: Monitor.h:60
log_level_t
Definition: Monitor.h:40
Identifier< bool > VERBOSE
This property activates the verbose mode of the processor: information about the processor work will ...
Identifier< Monitor::log_level_t > LOG_LEVEL
Property passed in the configuration property list of a processor to select the log level between LOG...
elm::io::Output log
Provide a stream to perform log output.
Definition: Monitor.h:57
WorkSpace * workspace(void)
Get the current workspace.
Definition: Monitor.h:53
static Monitor & null
Monitor that output nothing.
Definition: Monitor.h:36
bool isVerbose(void) const
Test if the verbosity is activated.
Definition: Monitor.h:58
log_level_t log_level
Definition: Monitor.h:71
Identifier< elm::io::OutStream * > LOG
This property identifier is used for setting the log stream used by the processor to write messages (...
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
Identifier< elm::io::OutStream * > OUTPUT
This property identifier is used for setting the output stream used by the processor to write results...
bool logFor(log_level_t tested) const
Test if the given log level is activated or not.
Definition: Monitor.h:59
void setWorkspace(WorkSpace *workspace)
Set the current workspace.
Definition: Monitor.h:64
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
WorkSpace * ws
Definition: Monitor.h:72
This a list of properties.
Definition: PropList.h:63
t::uint32 flags
Contains various bit flags.
Definition: Monitor.h:68
elm::io::Output out
Provide a stream to perform output for the user.
Definition: Monitor.h:56