pyCBD.tracers.tracerVerbose module

Verbose tracer for the CBD Simulator.

class pyCBD.tracers.tracerVerbose.VerboseTracer(uid=- 1, filename=None)[source]

Bases: pyCBD.tracers.baseTracer.BaseTracer

Verbose tracer for the CBD Simulator.

traceStartNewIteration(curIt, time)[source]

Traces the start of a new iteration.

Note

This function must be implemented in the subclass(es)!

Parameters
  • curIt (int) – The current iteration.

  • time (numeric) – The current simulation time.

traceCompute(curIt, block)[source]

Traces the computation of a specific block.

Note

This function must be implemented in the subclass(es)!

Parameters
  • curIt (int) – The current iteration.

  • block (CBD.Core.BaseBlock) – The block for which a compute just happened.