Enable 64-bit cycle counters on ARMV7a
commitf783e84fa3e8658d87b8284d7538dea300e3a378
authorErik Lindahl <erik@kth.se>
Sat, 8 Aug 2015 15:49:12 +0000 (8 17:49 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 2 Nov 2015 21:07:41 +0000 (2 22:07 +0100)
tree12b6318ccfb5fbc32909961db0ca7c1623cbcdb6
parentf9a02ec70e41e2a6f9d72757c2d28f7318ceb095
Enable 64-bit cycle counters on ARMV7a

ARMv7a has support for returning 64 bits of cycle information by
using two 32-bit registers. However, unless user-space access has
been enabled in the kernel they will return 0. We enable their usage,
but will still return that there is no support in GROMACS if they
are not enabled in the kernel.

Change-Id: Ic91550e743056335388d0b2c862d35e38b72cb04
src/gromacs/domdec/domdec.cpp
src/gromacs/ewald/pme-load-balancing.cpp
src/gromacs/timing/cyclecounter.h