Add more example simulations in the benchmarks
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user