HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::PerfTestPlugin Class Reference

#include </home/runner/work/hal/hal/plugins/perf_test/include/perf_test/plugin_perf_test.h>

Inheritance diagram for hal::PerfTestPlugin:
Inheritance graph
Collaboration diagram for hal::PerfTestPlugin:
Collaboration graph

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
 

Detailed Description

The plugin that runs performance benchmarks against HAL's netlist API.

Definition at line 57 of file plugin_perf_test.h.

Constructor & Destructor Documentation

◆ PerfTestPlugin()

hal::PerfTestPlugin::PerfTestPlugin ( )

Definition at line 27 of file plugin_perf_test.cpp.

References hal::BasePluginInterface::m_extensions.

Member Function Documentation

◆ cmp_sim_data()

◆ get_name()

std::string hal::PerfTestPlugin::get_name ( ) const
overridevirtual

Get the name of the plugin.

Returns
The name of the plugin.

Implements hal::BasePluginInterface.

Definition at line 32 of file plugin_perf_test.cpp.

◆ get_version()

std::string hal::PerfTestPlugin::get_version ( ) const
overridevirtual

Get the version of the plugin.

Returns
The version of the plugin.

Implements hal::BasePluginInterface.

Definition at line 37 of file plugin_perf_test.cpp.

◆ initialize()

void hal::PerfTestPlugin::initialize ( )
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.


The documentation for this class was generated from the following files: