mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-16 08:54:19 +02:00
scripted-diff: Remove priority_level from BENCHMARK macro
-BEGIN VERIFY SCRIPT- sed --in-place --regexp-extended 's/BENCHMARK\(([^,]+), benchmark::PriorityLevel::(HIGH|LOW)\)/BENCHMARK(\1)/g' $( git grep -l PriorityLevel ) sed --in-place 's/#define BENCHMARK(n, priority_level)/#define BENCHMARK(n)/g' ./src/bench/bench.h -END VERIFY SCRIPT-
This commit is contained in:
@@ -57,8 +57,8 @@ static void LogWithoutWriteToFile(benchmark::Bench& bench)
|
||||
});
|
||||
}
|
||||
|
||||
BENCHMARK(LogWithDebug, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(LogWithoutDebug, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(LogWithThreadNames, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(LogWithoutThreadNames, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(LogWithoutWriteToFile, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(LogWithDebug);
|
||||
BENCHMARK(LogWithoutDebug);
|
||||
BENCHMARK(LogWithThreadNames);
|
||||
BENCHMARK(LogWithoutThreadNames);
|
||||
BENCHMARK(LogWithoutWriteToFile);
|
||||
|
||||
Reference in New Issue
Block a user