|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/perf_test/include/perf_test/plugin_perf_test.h>


Public Member Functions | |
| PerfTestPlugin () | |
| std::string | get_name () const override |
| std::string | get_version () const override |
| void | initialize () override |
| bool | cmp_sim_data (hal::NetlistSimulatorController *reference_simulation_ctrl, hal::NetlistSimulatorController *simulation_ctrl, int tolerance=200) |
Public Member Functions inherited from hal::BasePluginInterface | |
| BasePluginInterface ()=default | |
| virtual | ~BasePluginInterface () |
| virtual std::string | get_description () const |
| virtual std::set< std::string > | get_dependencies () const |
| template<typename... Args> | |
| void | log (const Args &... args) const |
| virtual void | on_load () |
| virtual void | on_unload () |
| virtual void | initialize_logging () |
| virtual std::vector< AbstractExtensionInterface * > | get_extensions () const |
| template<typename T > | |
| T * | get_first_extension () const |
| void | delete_extension (AbstractExtensionInterface *aeif) |
Additional Inherited Members | |
Protected Attributes inherited from hal::BasePluginInterface | |
| std::vector< AbstractExtensionInterface * > | m_extensions |
The plugin that runs performance benchmarks against HAL's netlist API.
Definition at line 57 of file plugin_perf_test.h.
| hal::PerfTestPlugin::PerfTestPlugin | ( | ) |
Definition at line 27 of file plugin_perf_test.cpp.
References hal::BasePluginInterface::m_extensions.
| bool hal::PerfTestPlugin::cmp_sim_data | ( | hal::NetlistSimulatorController * | reference_simulation_ctrl, |
| hal::NetlistSimulatorController * | simulation_ctrl, | ||
| int | tolerance = 200 |
||
| ) |
Definition at line 56 of file plugin_perf_test.cpp.
References QList::at(), hal::data, hal::WaveData::get_events(), hal::NetlistSimulatorController::get_waves(), hal::WaveData::name(), name, net, QList::size(), QString::toStdString(), hal::WaveDataList::waveIndexByNetId(), and x.
Referenced by hal::CliExtensionsPerfTest::handle_cli_call().
|
overridevirtual |
Get the name of the plugin.
Implements hal::BasePluginInterface.
Definition at line 32 of file plugin_perf_test.cpp.
|
overridevirtual |
Get the version of the plugin.
Implements hal::BasePluginInterface.
Definition at line 37 of file plugin_perf_test.cpp.
|
overridevirtual |
Plugins utilize two phase construction. Always populate all members etc in the initialize function which is automatically called by plugin_manager::get_plugin_instance()
Reimplemented from hal::BasePluginInterface.
Definition at line 42 of file plugin_perf_test.cpp.