mirror of
https://github.com/google/benchmark.git
synced 2025-04-29 22:40:33 +08:00
More formatting issues.
This commit is contained in:
parent
febafa2bee
commit
96569c63f7
@ -333,8 +333,7 @@ ThreadState::ThreadState(State& s) : State(s), parent_(&s) {
|
||||
BM_CHECK(!started())
|
||||
<< "Don't create a ThreadState object after measurement has started";
|
||||
timer_ = new internal::ThreadTimer(*timer_);
|
||||
if (perf_counters_measurement_)
|
||||
{
|
||||
if (perf_counters_measurement_) {
|
||||
perf_counters_measurement_ = new internal::PerfCountersMeasurement(
|
||||
perf_counters_measurement_->names());
|
||||
}
|
||||
|
@ -45,7 +45,6 @@ void BM_ManualThreadingInLoop(benchmark::State& state) {
|
||||
std::vector<std::thread> pool(numWorkerThreads);
|
||||
|
||||
for (auto _ : state) {
|
||||
|
||||
for (int i = 0; i < numWorkerThreads; ++i) {
|
||||
pool[i] = std::thread(MyBusySpinwait);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user