1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-29 14:30:37 +08:00

More formatting issues.

This commit is contained in:
Olaf Krzikalla 2023-10-05 14:59:24 +02:00
parent 63e64f23a9
commit b8f41ce3a3
2 changed files with 1 additions and 3 deletions

View File

@ -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());
}

View File

@ -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);
}