Add more example simulations in the benchmarks

This commit is contained in:
2024-06-07 14:33:56 +02:00
committed by Derek Christ
parent 42d17f95ec
commit c42866cecb
2 changed files with 24 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ static DRAMSys::AddressDecoder addressDecoder()
return decoder;
}
static void decode(benchmark::State& state)
static void addressdecoder_decode(benchmark::State& state)
{
auto decoder = addressDecoder();
@@ -61,9 +61,9 @@ static void decode(benchmark::State& state)
}
}
BENCHMARK(decode);
BENCHMARK(addressdecoder_decode);
static void encode(benchmark::State& state)
static void addressdecoder_encode(benchmark::State& state)
{
auto decoder = addressDecoder();
@@ -77,4 +77,4 @@ static void encode(benchmark::State& state)
}
}
BENCHMARK(encode);
BENCHMARK(addressdecoder_encode);