[PTLsim-devel] Multi-Core Simulation

Stephan Diestelhorst
Tue May 27 04:38:22 EDT 2008


Hi João,

> I would like to now if the PTLSim simulates multicore systems
> sequentially on multicore processors (i.e. the simulation is not
> parallelized throught OpenMP or PThreads).

that is exactly the way it is. PTLsim currently supports SMTs only, 
this means that all decoded micro-ops end up in the same ROB.
That one and the multiple units are executed sequentially.

> May anyone tell me which 
> class/method is the main responsable for multicore simulations?

A good starting point is OutOfOrderCore::runcycle(), ooocore.cpp, 
lines 316 to 596.

You can see the iteration through the treads' frontends there.

Kind regards,
  Stephan

-- 
Stephan Diestelhorst, AMD Operating System Research Center
stephan.diestelhorst at amd.com, Tel.   (AMD: 8-4927)

AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
  Wilschdorfer Landstr. 101,
  01109 Dresden,
  Deutschland
Registergericht Dresden: HRA 4896

vertretungsberechtigter Komplementär:
  AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
  Dr. Hans-R. Deppe, Thomas McCoy



More information about the PTLsim-devel mailing list