No unused warning for alias benchmark
This commit is contained in:
parent
97d027a173
commit
3d6b667997
@ -50,6 +50,7 @@ int main(int, char **)
|
|||||||
TIMER_START(aliased_u32);
|
TIMER_START(aliased_u32);
|
||||||
for (auto round : util::irange(0, num_rounds))
|
for (auto round : util::irange(0, num_rounds))
|
||||||
{
|
{
|
||||||
|
(void) round;
|
||||||
osrm_uint32 sum{0};
|
osrm_uint32 sum{0};
|
||||||
osrm_uint32 mult{1};
|
osrm_uint32 mult{1};
|
||||||
for (auto idx : indices)
|
for (auto idx : indices)
|
||||||
@ -68,6 +69,7 @@ int main(int, char **)
|
|||||||
TIMER_START(plain_u32);
|
TIMER_START(plain_u32);
|
||||||
for (auto round : util::irange(0, num_rounds))
|
for (auto round : util::irange(0, num_rounds))
|
||||||
{
|
{
|
||||||
|
(void) round;
|
||||||
std::uint32_t sum{0};
|
std::uint32_t sum{0};
|
||||||
std::uint32_t mult{1};
|
std::uint32_t mult{1};
|
||||||
for (auto idx : indices)
|
for (auto idx : indices)
|
||||||
@ -86,6 +88,7 @@ int main(int, char **)
|
|||||||
TIMER_START(aliased_double);
|
TIMER_START(aliased_double);
|
||||||
for (auto round : util::irange(0, num_rounds))
|
for (auto round : util::irange(0, num_rounds))
|
||||||
{
|
{
|
||||||
|
(void) round;
|
||||||
osrm_double sum{0.0};
|
osrm_double sum{0.0};
|
||||||
osrm_double mult{1.0};
|
osrm_double mult{1.0};
|
||||||
for (auto idx : indices)
|
for (auto idx : indices)
|
||||||
@ -105,6 +108,7 @@ int main(int, char **)
|
|||||||
TIMER_START(plain_double);
|
TIMER_START(plain_double);
|
||||||
for (auto round : util::irange(0, num_rounds))
|
for (auto round : util::irange(0, num_rounds))
|
||||||
{
|
{
|
||||||
|
(void) round;
|
||||||
double sum{0.0};
|
double sum{0.0};
|
||||||
double mult{1.0};
|
double mult{1.0};
|
||||||
for (auto idx : indices)
|
for (auto idx : indices)
|
||||||
|
Loading…
Reference in New Issue
Block a user