We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
通过makefile的IMG features来判断是否将比赛测例加载到内核内存中。
在比赛时为了方便调试,会在IMG=y的时候,将测例镜像直接加载在内核镜像中某一个地址addr,然后手动设置页表映射,将0x9000_0000映射到该地址addr,从而检验内核读取ramdisk的功能是否正常。但是在完成比赛之后,该方法会显得十分冗余。因此需要做如下改进:
The text was updated successfully, but these errors were encountered:
经简单测算,若使用qemu加载外部测例,则会导致读取外部文件时速度较慢,测试性能时较慢。而如果使用ramdisk读取内存,则测试出来的性能分数会比较高。
Sorry, something went wrong.
No branches or pull requests
背景
通过makefile的IMG features来判断是否将比赛测例加载到内核内存中。
当前问题
在比赛时为了方便调试,会在IMG=y的时候,将测例镜像直接加载在内核镜像中某一个地址addr,然后手动设置页表映射,将0x9000_0000映射到该地址addr,从而检验内核读取ramdisk的功能是否正常。但是在完成比赛之后,该方法会显得十分冗余。因此需要做如下改进:
The text was updated successfully, but these errors were encountered: