Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is ContextSwitch Variable? #72

Open
qfettes opened this issue Oct 30, 2018 · 1 comment
Open

Where is ContextSwitch Variable? #72

qfettes opened this issue Oct 30, 2018 · 1 comment

Comments

@qfettes
Copy link

qfettes commented Oct 30, 2018

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
Copy link

ghost commented Jan 23, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant