From b3653cfe167e95a33ef66dcbb6efb88c53ba48e1 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Wed, 12 Jun 2013 03:38:37 +0000 Subject: [PATCH] Updates bundled Valgrind headers to 3.8.1 and fixes test build, patch by Markus, fixes #1971 This was SVN commit r13473. --- source/simulation2/tests/test_Serializer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/simulation2/tests/test_Serializer.h b/source/simulation2/tests/test_Serializer.h index 431392e7e1..3784395947 100644 --- a/source/simulation2/tests/test_Serializer.h +++ b/source/simulation2/tests/test_Serializer.h @@ -665,14 +665,14 @@ public: } double t = timer_Time(); - CALLGRIND_START_INSTRUMENTATION + CALLGRIND_START_INSTRUMENTATION; size_t reps = 128; for (size_t i = 0; i < reps; ++i) { std::string hash; sim2.ComputeStateHash(hash, false); } - CALLGRIND_STOP_INSTRUMENTATION + CALLGRIND_STOP_INSTRUMENTATION; t = timer_Time() - t; debug_printf(L"# time = %f (%f/%d)\n", t/reps, t, (int)reps);