Instrument setOldestVersion for callgrind too

This commit is contained in:
andrew committed 2024-08-19 21:32:04 -07:00
1 parent 8e1e344f4b
commit e2b7298af5
1 file changed
+3
+3
View File
@@ -748,7 +748,10 @@ struct TestDriver {
fprintf(stderr, "%p Set oldest version: %" PRId64 "\n", this,
oldestVersion);
#endif
CALLGRIND_START_INSTRUMENTATION;
cs.setOldestVersion(oldestVersion);
CALLGRIND_STOP_INSTRUMENTATION;
if constexpr (kEnableAssertions) {
refImpl.setOldestVersion(oldestVersion);
}