@Override
	public void update(ProcessReports[] processReports) {
		synchronized (eventSyncCondition) {
			checkExecutionErrors(processReports);
			this.processReports = processReports;
			// The reason I passed processReport as parameter here is to prevent
			// the synchronization problem.
			updateCurrentProcessAndThread(processReports);
			eventSyncCondition.notifyAll();
		}
	}
Add the given {@link SamplingLifeCycleListener} to get notified when
sampling is started and ended.

@param listener listener to be registered.
ngrinder-core/src/main/java/net/grinder/SingleConsole.java