Multiprocessor Simulation
Simulation runs on a uniprocessor (can be parallelized too)
- Simulated processes are interleaved on the processor
Two parts to a simulator:
- Reference generator: plays role of simulated processors
- And schedules simulated processes based on simulated time
- Simulator of extended memory hierarchy
- Simulates operations (references, commands) issued by reference generator
Coupling or information flow between the two parts varies
- Trace-driven simulation: from generator to simulator
- Execution-driven simulation: in both directions (more accurate)
Simulator keeps track of simulated time and detailed statistics