Navigation
Synopsis Log the start of an event (it is ended by another event or by endJob).
Function
  1. void event(str name)
  2. void event(str name, int inc)
  3. void event(int inc)
Usage import util::Monitor;
Description The various forms of event behave as follows:
  1. Log the start of an event.
  2. Log the start of an event with the amount of work that will be done when it's finished. An event is finished when the next event is logged, or when endJob is called.
  3. Log the start of an event with the amount of work that will be done when it's finished. An event is finished when the next event is logged, or when endJob is called.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.