TimeWarp: Rethinking timekeeping and performance monitoring mechanisms to mitigate side-channel attacks