module timelinelib.monitoring¶
Contains the Monitoring class.
The monitoring functions comes into action if the flag DEBUG_ENABLED, in the timelinelib module, is set to True. This happens if the application argument –debug is used at start of Timeline. When DEBUG_ENABLED is True, timer and counting statistics are shown in the main panel.
-
class
timelinelib.monitoring.
Monitoring
[source]¶ Bases:
object
Kepp track of the number of times the timeline has been redrawn.
Measure the time it takes to redraw.
-
property
timeline_redraw_count
¶ Return the number of times the timeline has been redrawn.
-
property
category_redraw_count
¶ Return the number of times the category tree has been redrawn.
-
property
timer_elapsed_ms
¶ Return the elapsed time in milliseconds.