#include <benchmark_test.h>
Definition at line 54 of file benchmark_test.h.
◆ RunEntry
typedef void() dart::Benchmark::RunEntry(Benchmark *benchmark) |
◆ Benchmark()
dart::Benchmark::Benchmark |
( |
RunEntry * |
run, |
|
|
const char * |
name, |
|
|
const char * |
score_kind |
|
) |
| |
|
inline |
Definition at line 58 of file benchmark_test.h.
62 score_(0),
63 isolate_(nullptr),
64 next_(nullptr) {
65 if (first_ == nullptr) {
66 first_ = this;
67 } else {
68 tail_->next_ = this;
69 }
70 tail_ = this;
71 }
const char * name() const
const char * score_kind() const
◆ CreateIsolate()
void dart::Benchmark::CreateIsolate |
( |
| ) |
|
|
inline |
Definition at line 87 of file benchmark_test.h.
87 {
89 EXPECT(isolate_ !=
nullptr);
90 }
static Dart_Isolate CreateTestIsolate(const char *name=nullptr, void *isolate_group_data=nullptr, void *isolate_data=nullptr)
◆ Executable()
static const char * dart::Benchmark::Executable |
( |
| ) |
|
|
inlinestatic |
◆ isolate()
Isolate * dart::Benchmark::isolate |
( |
| ) |
const |
|
inline |
Definition at line 78 of file benchmark_test.h.
78{ return reinterpret_cast<Isolate*>(isolate_); }
◆ name()
const char * dart::Benchmark::name |
( |
| ) |
const |
|
inline |
◆ Run()
void dart::Benchmark::Run |
( |
| ) |
|
|
inline |
◆ RunAll()
void Benchmark::RunAll |
( |
const char * |
executable | ) |
|
|
static |
Definition at line 33 of file benchmark_test.cc.
33 {
39 }
40}
static void SetExecutable(const char *arg)
◆ RunBenchmark()
void Benchmark::RunBenchmark |
( |
| ) |
|
Definition at line 73 of file run_vm_tests.cc.
73 {
83 }
84}
static void Print(const char *format,...) PRINTF_ATTRIBUTE(1
static const char * run_filter
static constexpr const char * kAllBenchmarks
static constexpr const char * kList
◆ score()
int64_t dart::Benchmark::score |
( |
| ) |
const |
|
inline |
◆ score_kind()
const char * dart::Benchmark::score_kind |
( |
| ) |
const |
|
inline |
◆ set_score()
void dart::Benchmark::set_score |
( |
int64_t |
value | ) |
|
|
inline |
◆ SetExecutable()
static void dart::Benchmark::SetExecutable |
( |
const char * |
arg | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: