1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00
This commit is contained in:
paboyle 2017-05-06 16:10:09 +01:00
parent c349aa6511
commit c7cc7e6101

View File

@ -212,7 +212,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(longlong));
assert(ign=2*sizeof(long long));
}
elapsed = cyclecount() - begin;
#else