CBD.tracers.tracerVerbose module¶
Verbose tracer for the CBD Simulator.
- class CBD.tracers.tracerVerbose.VerboseTracer(uid=- 1, filename=None)[source]¶
Bases:
CBD.tracers.baseTracer.BaseTracerVerbose tracer for the CBD Simulator.
- traceNewIteration(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.