PFPObserver.h
Go to the documentation of this file.
virtual void data_written(const std::string &from_module, const std::shared_ptr< pfp::core::TrType > data, double simulation_time)=0
Function called by the NPU when data is written by a module.
virtual void data_read(const std::string &to_module, const std::shared_ptr< pfp::core::TrType > data, double simulation_time)=0
Function called by the NPU when data is read by a module.
virtual void data_dropped(const std::string &in_module, const std::shared_ptr< pfp::core::TrType > data, const std::string &drop_reason, double simulation_time)=0
Function called by the NPU when data is dropped in a module.
Definition: PFPObserver.h:51
virtual void counter_updated(const std::string &module_name, const std::string &counter_name, std::size_t new_value, double simulation_time)=0
Function called by the NPU when a counter is updated.
virtual void counter_removed(const std::string &module_name, const std::string &counter_name, double simulation_time=0)=0
Function called by the NPU when a counter is removed from a module.
virtual void counter_added(const std::string &module_name, const std::string &counter_name, double simulation_time=0)=0
Function called by the NPU when a counter is added to a module.
virtual void thread_idle(const std::string &teu_mod, const std::string &tec_mod, std::size_t thread_id, std::size_t packet_id, double simulation_time)=0
Function called by the NPU when a TEU thread starts idling.
virtual void thread_end(const std::string &teu_mod, const std::string &tec_mod, std::size_t thread_id, std::size_t packet_id, double simulation_time)=0
Function called by the NPU when a TEU thread ends.
virtual void thread_begin(const std::string &teu_mod, const std::string &tec_mod, std::size_t thread_id, std::size_t packet_id, double simulation_time)=0
Function called by the NPU when a TEU thread begins.