ZeroErr
载入中...
搜索中...
未找到
zeroerr::BenchResult结构体 参考

BenchResult is a result of running the benchmark. 更多...

#include <benchmark.h>

zeroerr::BenchResult 的协作图:

Public 类型

enum  Measure {
  time_elapsed = 1 << 0 , iterations = 1 << 1 , page_faults = 1 << 2 , cpu_cycles = 1 << 3 ,
  context_switches = 1 << 4 , instructions = 1 << 5 , branch_instructions = 1 << 6 , branch_misses = 1 << 7 ,
  all = (1 << 8) - 1
}
 

Public 成员函数

PerfCountSet< double > average () const
 
PerfCountSet< double > min () const
 
PerfCountSet< double > max () const
 
PerfCountSet< double > mean () const
 

Public 属性

std::string name
 
std::vector< PerfCountSet< double > > epoch_details
 
PerfCountSet< bool > has
 

详细描述

BenchResult is a result of running the benchmark.

成员枚举类型说明

◆ Measure

枚举值
time_elapsed 
iterations 
page_faults 
cpu_cycles 
context_switches 
instructions 
branch_instructions 
branch_misses 
all 

成员函数说明

◆ average()

PerfCountSet< double > zeroerr::BenchResult::average ( ) const

◆ max()

PerfCountSet< double > zeroerr::BenchResult::max ( ) const

◆ mean()

PerfCountSet< double > zeroerr::BenchResult::mean ( ) const

◆ min()

PerfCountSet< double > zeroerr::BenchResult::min ( ) const

类成员变量说明

◆ epoch_details

std::vector<PerfCountSet<double> > zeroerr::BenchResult::epoch_details

◆ has

PerfCountSet<bool> zeroerr::BenchResult::has

◆ name

std::string zeroerr::BenchResult::name

该结构体的文档由以下文件生成: