Public Member Functions | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual void | core_busy (const std::string &teu_mod, const std::string &tec_mod, double simulation_time)=0 |
virtual void | core_idle (const std::string &teu_mod, const std::string &tec_mod, double simulation_time)=0 |
Protected Member Functions | |
virtual | ~PFPObserver ()=default |
Default destructor. | |
Member Function Documentation
|
pure virtual |
Function called by the NPU when a counter is added to a module.
- Parameters
-
module_name Module name to which counter was added counter_name Name of the counter simulation_time Simulation time at which counter was added (defaults to 0 since counters are typically added before simulation begins)
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when a counter is removed from a module.
- Parameters
-
module_name Module name from which counter was removed counter_name Name of the counter simulation_time Simulation time at which counter was removed (defaults to 0 since counters are typically removed before simulation begins)
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when a counter is updated.
- Parameters
-
module_name Module containing updated counter counter_name Name of the counter new_value Current value of the counter simulation_time Simulation time at which counter value was updated
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when data is dropped in a module.
- Parameters
-
in_module Module name in which data was dropped data JSON representation of data simulation_time Simulation time at which event occurred
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when data is read by a module.
- Parameters
-
to_module Module name of the receiving module data JSON representation of data simulation_time Simulation time at which event occurred
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when data is written by a module.
- Parameters
-
from_module Module name of the transmitting module data JSON representation of data simulation_time Simulation time at which event occurred
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when a TEU thread begins.
- Parameters
-
teu_mod TEU in which thread was started tec_mod TEC containing the TEU in which the thread was started thread_id ID number of the thread simulation_time Simulation time at which event occurred
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when a TEU thread ends.
- Parameters
-
teu_mod TEU in which thread was ended tec_mod TEC containing the TEU in which the thread was ended thread_id ID number of the thread simulation_time Simulation time at which event occurred
Implemented in pfp::core::db::DebugObserver.
|
pure virtual |
Function called by the NPU when a TEU thread starts idling.
- Parameters
-
teu_mod TEU in which thread is idling tec_mod TEC containing the TEU in which the thread is idling thread_id ID number of the thread simulation_time Simulation time at which event occurred
Implemented in pfp::core::db::DebugObserver.
The documentation for this class was generated from the following file:
- /home/lemniscate/workspace/PFPSim/pfpsim/core/PFPObserver.h