1
0
forked from 0ad/0ad

Updates bundled Valgrind headers to 3.8.1 and fixes test build, patch by Markus, fixes #1971

This was SVN commit r13473.
This commit is contained in:
historic_bruno 2013-06-12 03:38:37 +00:00
parent 2567fee329
commit b3653cfe16

View File

@ -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);