Anatomy of the gem5 Simulator: AtomicSimpleCPU, TimingSimpleCPU, O3CPU, and Their Interaction with the Ruby Memory System. - Johan Söderström; Yuan Yao (CoRR, 2025)