Public Member Functions | Private Attributes
benchpress::result Class Reference

#include <benchpress.hpp>

List of all members.

Public Member Functions

double get_mb_per_s () const
size_t get_ns_per_op () const
 result (size_t num_iterations, std::chrono::nanoseconds duration, size_t num_bytes)
std::string to_string () const

Private Attributes

std::chrono::nanoseconds d_duration
size_t d_num_bytes
size_t d_num_iterations

Detailed Description

Definition at line 157 of file benchpress.hpp.


Constructor & Destructor Documentation

benchpress::result::result ( size_t  num_iterations,
std::chrono::nanoseconds  duration,
size_t  num_bytes 
) [inline]

Definition at line 163 of file benchpress.hpp.


Member Function Documentation

double benchpress::result::get_mb_per_s ( ) const [inline]

Definition at line 176 of file benchpress.hpp.

size_t benchpress::result::get_ns_per_op ( ) const [inline]

Definition at line 169 of file benchpress.hpp.

std::string benchpress::result::to_string ( ) const [inline]

Definition at line 184 of file benchpress.hpp.


Member Data Documentation

std::chrono::nanoseconds benchpress::result::d_duration [private]

Definition at line 159 of file benchpress.hpp.

Definition at line 160 of file benchpress.hpp.

Definition at line 158 of file benchpress.hpp.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:10