Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
perf_tests::internal::concrete_performance_test< Test > Class Template Referencefinal
Inheritance diagram for perf_tests::internal::concrete_performance_test< Test >:
perf_tests::internal::performance_test

Public Member Functions

 performance_test (const std::string &test_case, const std::string &test_group)
 
const std::string & test_case () const
 
const std::string & test_group () const
 
std::string name () const
 
void run (const config &)
 

Static Public Member Functions

static void register_test (std::unique_ptr< performance_test >)
 

Protected Member Functions

virtual void set_up () override
 
virtual void tear_down () noexcept override
 
virtual future< run_resultdo_single_run () override
 
bool stop_iteration () const
 
void next_iteration (size_t n)
 

Protected Attributes

linux_perf_event _instructions_retired_counter = linux_perf_event::user_instructions_retired()
 
linux_perf_event _cpu_cycles_retired_counter = linux_perf_event::user_cpu_cycles_retired()
 

Member Function Documentation

◆ do_single_run()

template<typename Test >
virtual future< run_result > perf_tests::internal::concrete_performance_test< Test >::do_single_run ( )
inlineoverrideprotectedvirtual

◆ set_up()

template<typename Test >
virtual void perf_tests::internal::concrete_performance_test< Test >::set_up ( )
inlineoverrideprotectedvirtual

◆ tear_down()

template<typename Test >
virtual void perf_tests::internal::concrete_performance_test< Test >::tear_down ( )
inlineoverrideprotectedvirtualnoexcept

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