collectPerformance

Opt this agent in to mailbox-traffic statistics. Must be called before simulate() runs since the returned AgentPerformance is a ModelElement. Idempotent — a second call returns the existing observer.

Parameters

allPerformance

if true, additionally publishes the NumPendingAtEndOfReplication response