passengersim.tracers.

genericΒΆ

Base class for tracers.

The implementation lives in passengersim.callbacks.tracer, beside the callback machinery that uses it; it is re-exported here so that existing imports, such as from passengersim.tracers.generic import GenericTracer, keep working.

Classes

GenericTracer()

Base class for tracers that collect detail while a simulation runs.

Functions

tracer_hooks(tracer)

Get the lifecycle hooks a tracer runs on.

uses_hook_methods(tracer)

Whether a tracer is written in the hook-method form.