Home | History | Annotate | Download | only in src

Lines Matching refs:Instance

79                       std::vector<Benchmark::Instance>* benchmarks,
90 static BenchmarkFamilies instance;
91 return &instance;
108 const std::string& spec, std::vector<Benchmark::Instance>* benchmarks,
148 Benchmark::Instance instance;
149 instance.name = family->name_;
150 instance.benchmark = family.get();
151 instance.report_mode = family->report_mode_;
152 instance.arg = args;
153 instance.time_unit = family->time_unit_;
154 instance.range_multiplier = family->range_multiplier_;
155 instance.min_time = family->min_time_;
156 instance.iterations = family->iterations_;
157 instance.repetitions = family->repetitions_;
158 instance.use_real_time = family->use_real_time_;
159 instance.use_manual_time = family->use_manual_time_;
160 instance.complexity = family->complexity_;
161 instance.complexity_lambda = family->complexity_lambda_;
162 instance.threads = num_threads;
164 // Add arguments to instance name
167 instance.name += "/";
172 instance.name +=
177 instance.name += StringPrintF("%d", arg);
182 instance.name += StringPrintF("/min_time:%0.3f", family->min_time_);
184 instance.name += StringPrintF("/iterations:%d", family->iterations_);
186 instance.name += StringPrintF("/repeats:%d", family->repetitions_);
189 instance.name += "/manual_time";
191 instance.name += "/real_time";
196 instance.name += StringPrintF("/threads:%d", instance.threads);
199 if (re.Match(instance.name)) {
200 instance.last_benchmark_instance = (&args == &family->args_.back());
201 benchmarks->push_back(std::move(instance));
219 std::vector<Benchmark::Instance>* benchmarks,