#include <benchmark.h>
Public Member Functions | |
BENCHMARK_ALWAYS_INLINE size_t | bytes_processed () const |
BENCHMARK_ALWAYS_INLINE int | complexity_length_n () |
BENCHMARK_ALWAYS_INLINE size_t | items_processed () const |
BENCHMARK_ALWAYS_INLINE size_t | iterations () const |
bool | KeepRunning () |
void | PauseTiming () |
BENCHMARK_ALWAYS_INLINE int | range (std::size_t pos=0) const |
int | range_x () const |
int | range_y () const |
void | ResumeTiming () |
BENCHMARK_ALWAYS_INLINE void | SetBytesProcessed (size_t bytes) |
BENCHMARK_ALWAYS_INLINE void | SetComplexityN (int complexity_n) |
BENCHMARK_ALWAYS_INLINE void | SetItemsProcessed (size_t items) |
void | SetIterationTime (double seconds) |
void | SetLabel (const char *label) |
void BENCHMARK_ALWAYS_INLINE | SetLabel (const std::string &str) |
void | SkipWithError (const char *msg) |
State (size_t max_iters, const std::vector< int > &ranges, int thread_i, int n_threads, internal::ThreadTimer *timer, internal::ThreadManager *manager) | |
Public Attributes | |
UserCounters | counters |
const size_t | max_iterations |
const int | thread_index |
const int | threads |
Private Member Functions | |
BENCHMARK_DISALLOW_COPY_AND_ASSIGN (State) | |
void | FinishKeepRunning () |
void | StartKeepRunning () |
Private Attributes | |
size_t | bytes_processed_ |
int | complexity_n_ |
bool | error_occurred_ |
bool | finished_ |
size_t | items_processed_ |
internal::ThreadManager * | manager_ |
std::vector< int > | range_ |
bool | started_ |
internal::ThreadTimer * | timer_ |
size_t | total_iterations_ |
Definition at line 399 of file benchmark.h.
State::State | ( | size_t | max_iters, |
const std::vector< int > & | ranges, | ||
int | thread_i, | ||
int | n_threads, | ||
internal::ThreadTimer * | timer, | ||
internal::ThreadManager * | manager | ||
) |
Definition at line 399 of file benchmark.cc.
|
private |
|
inline |
Definition at line 478 of file benchmark.h.
|
inline |
Definition at line 489 of file benchmark.h.
|
private |
Definition at line 461 of file benchmark.cc.
|
inline |
Definition at line 501 of file benchmark.h.
|
inline |
Definition at line 535 of file benchmark.h.
|
inline |
Definition at line 404 of file benchmark.h.
void State::PauseTiming | ( | ) |
Definition at line 420 of file benchmark.cc.
|
inline |
Definition at line 523 of file benchmark.h.
|
inline |
Definition at line 529 of file benchmark.h.
|
inline |
Definition at line 532 of file benchmark.h.
void State::ResumeTiming | ( | ) |
Definition at line 426 of file benchmark.cc.
|
inline |
Definition at line 475 of file benchmark.h.
|
inline |
Definition at line 486 of file benchmark.h.
|
inline |
Definition at line 498 of file benchmark.h.
void State::SetIterationTime | ( | double | seconds | ) |
Definition at line 445 of file benchmark.cc.
void State::SetLabel | ( | const char * | label | ) |
Definition at line 449 of file benchmark.cc.
|
inline |
Definition at line 517 of file benchmark.h.
void State::SkipWithError | ( | const char * | msg | ) |
Definition at line 431 of file benchmark.cc.
|
private |
Definition at line 454 of file benchmark.cc.
|
private |
Definition at line 544 of file benchmark.h.
|
private |
Definition at line 547 of file benchmark.h.
UserCounters benchmark::State::counters |
Definition at line 553 of file benchmark.h.
|
private |
Definition at line 549 of file benchmark.h.
|
private |
Definition at line 539 of file benchmark.h.
|
private |
Definition at line 545 of file benchmark.h.
|
private |
Definition at line 569 of file benchmark.h.
const size_t benchmark::State::max_iterations |
Definition at line 558 of file benchmark.h.
|
private |
Definition at line 542 of file benchmark.h.
|
private |
Definition at line 538 of file benchmark.h.
const int benchmark::State::thread_index |
Definition at line 555 of file benchmark.h.
const int benchmark::State::threads |
Definition at line 557 of file benchmark.h.
|
private |
Definition at line 568 of file benchmark.h.
|
private |
Definition at line 540 of file benchmark.h.