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

Classes

struct  run_result
 

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

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

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()
 

Class Documentation

◆ perf_tests::internal::performance_test::run_result

struct perf_tests::internal::performance_test::run_result
Class Members
duration duration
perf_stats stats

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