pydistsim.tests.test_metrics.CustomMetricCollector
- class CustomMetricCollector[source]
Bases:
MetricCollectorA test observer that raises an exception when notified.
Methods
__init__Returns a dictionary with the collected metrics.
notifyon_addedCalled when the observer is added to an observable object.
on_algorithm_finishedon_algorithm_startedon_example_custom_eventon_message_deliveredon_message_senton_network_changedon_node_status_changedon_sim_state_changedon_state_changedon_step_doneAttributes
events