#include <benchpress.hpp>
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 |
Definition at line 157 of file benchpress.hpp.
benchpress::result::result | ( | size_t | num_iterations, |
std::chrono::nanoseconds | duration, | ||
size_t | num_bytes | ||
) | [inline] |
Definition at line 163 of file benchpress.hpp.
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.
std::chrono::nanoseconds benchpress::result::d_duration [private] |
Definition at line 159 of file benchpress.hpp.
size_t benchpress::result::d_num_bytes [private] |
Definition at line 160 of file benchpress.hpp.
size_t benchpress::result::d_num_iterations [private] |
Definition at line 158 of file benchpress.hpp.