Multi2Sim / multi2sim

Multi2Sim source code
GNU General Public License v3.0
115 stars 66 forks source link

Where is ContextSwitch Variable? #72

Open qfettes opened 5 years ago

qfettes commented 5 years ago

After running the command m2s --x86-config-help the description for ContextQuantum reads:

ContextQuantum = (Default = 100k) If ContextSwitch is true, maximum number of cycles that a context can occupy a Cpu hardware thread before it is replaced by other pending context.

However, there is no description for the ContextSwitch variable. Where is this variable placed? Why is its description missing/removed? Thanks in advance for the help.

ghost commented 5 years ago

It is delete from the source code. These usage descriptions didn't change since version 4.2, in version 4.2 this should work. Also you can try to add the missing code in src/arch/x86/timing/Cpu.cc, but I guess it is still not work.