Skip to content

p197/cpu_simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ps.py:pipeline simulation

The node is a execution component that is defined with queue size and latency (using step as unit). the chain chains node as a line. The simulator is driven by "step". We try to see how the executor stall and the change of the queue unitilization.

spinlock.py: spin lock simulation

We assume there are n threads which share the same spinlock, we try to figure out the behavior of the waiting queue

simple cpu

this is a simple cpu simulator to show how cpu is work. see README.rst in the directory for detail

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Assembly 1.6%
  • Makefile 0.9%