12.2 AlphaCPU as the Unit of Execution

<< Click to Display Table of Contents >>

Navigation:  ASA-EMulatR Reference Guide > Introduction > Architecture Overview > Chapter 12 – AlphaCPU Core >

12.2 AlphaCPU as the Unit of Execution

Each AlphaCPU instance represents one physical Alpha processor. One AlphaCPU = one hardware CPU. Each AlphaCPU runs independently in its own QThread. All AlphaCPUs execute concurrently in SMP. AlphaCPU owns all per-CPU state. There is no shared CPU object and no master CPU.

 

AlphaCPU is declared as a QObject (for Qt signal/slot threading and MOC support), with alignas(8) for cache-line-friendly member layout:

 

class alignas(8) AlphaCPU final : public QObject {

 Q_OBJECT

 ...

};

 

See Also: 9.3 CPU Instantiation and Identity.