both functions need to be called to properly activate the DWT's cycle counter (at least on the nrf52840)