This commit is contained in:
Peter Boyle committed 2018-03-13 19:22:31 -04:00
1 parent ff761ea4e6
commit 7e8be32755
1 file changed
+1 -1
+1 -1
View File
@@ -215,7 +215,7 @@ public:
::ioctl(cyclefd, PERF_EVENT_IOC_DISABLE, 0);
ign=::read(fd, &count, sizeof(long long));
ign+=::read(cyclefd, &cycles, sizeof(long long));
assert(ign=2*sizeof(long long));
assert(ign==2*sizeof(long long));
}
elapsed = cyclecount() - begin;
#else