newMonitor() method creates a new monitor for the specified instance of Simulator. The resulting monitor may insert probes, watches, or events into the simulation to collect information and later report that information after the simulation is complete.
@param s the Simulator instance to create the monitor for
@return an instance of the Monitor interface that represents the monitor for thesimulator
| |