Ticket #1971: fix-valgrind-update-build-failure.patch
File fix-valgrind-update-build-failure.patch, 602 bytes (added by , 11 years ago) |
---|
-
trunk/source/simulation2/tests/test_Serializer.h
a b 665 665 } 666 666 667 667 double t = timer_Time(); 668 CALLGRIND_START_INSTRUMENTATION 668 CALLGRIND_START_INSTRUMENTATION; 669 669 size_t reps = 128; 670 670 for (size_t i = 0; i < reps; ++i) 671 671 { 672 672 std::string hash; 673 673 sim2.ComputeStateHash(hash, false); 674 674 } 675 CALLGRIND_STOP_INSTRUMENTATION 675 CALLGRIND_STOP_INSTRUMENTATION; 676 676 t = timer_Time() - t; 677 677 debug_printf(L"# time = %f (%f/%d)\n", t/reps, t, (int)reps); 678 678