mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Merge branch 'feature/gpu-port' of https://github.com/paboyle/Grid into feature/gpu-port
This commit is contained in:
commit
2df4e422ad
@ -215,7 +215,7 @@ public:
|
|||||||
::ioctl(cyclefd, PERF_EVENT_IOC_DISABLE, 0);
|
::ioctl(cyclefd, PERF_EVENT_IOC_DISABLE, 0);
|
||||||
ign=::read(fd, &count, sizeof(long long));
|
ign=::read(fd, &count, sizeof(long long));
|
||||||
ign+=::read(cyclefd, &cycles, 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;
|
elapsed = cyclecount() - begin;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user