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

Various bug fixes #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

yunchih
Copy link

@yunchih yunchih commented Aug 21, 2020

fix wrong average queue waiting time

The value will explode when there is actually no requests destined for that queue. Should do a sanity check

cache manager

  • The missing return causes the WRITE_CACHE switch branch to fall into the default branch, causing an error
  • Fix memory leak

prevent garbage address when reading unwritten page

if the user attempts to read a page that has never been written before, its LPA might be overwritten by NO_LPA. Check this corner case

yunchih added 4 commits August 21, 2020 21:40
The value will explode when there is actually
no requests destined for that queue.  Should
do a sanity check
In the rare case that Simulator->Time() < SIM_TIME_TO_SECONDS_COEFF,
the XML output will be inf due to dividing by zero
* The missing return causes the WRITE_CACHE switch
branch to fall into the default branch, causing
an error
* Fix memory leak
if the user attempts to read a page that
has never been written before, its LPA
might be overwritten by NO_LPA.  Check this
corner case
@yunchih yunchih changed the title fix wrong average queue waiting time Various bug fixes Aug 30, 2020
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

Successfully merging this pull request may close these issues.

1 participant