Skip to content

學習作業系統,用 c++ 來模擬磁頭拜訪目標的演算法, Shortest Seek Time First (SSTF) 的變種版本(alpha)。

License

Notifications You must be signed in to change notification settings

ParttimeWorks/SSTF-alpha_HDD_scheduling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSTF-alpha_HDD_scheduling

操作方法

  • 若要快速獲得執行結果,請使用 make clean all test
  • make help: show the manual of ALL COMMANDS.
  • all: Compile code and generate executable named "main.elf"
  • test: Test data and output result
  • format: Format program files automatically
  • clean: Clean the executable "main.elf"

完成部份

  • 所有作業要求皆有完成。

編譯及測試

  • 若與作業要求相同測資,即如同操作方法所示,make clean all test 即可。
  • 若還有額外測資,則
    • make clean all
    • ./main.elf <testfile name>

執行結果

pic

About

學習作業系統,用 c++ 來模擬磁頭拜訪目標的演算法, Shortest Seek Time First (SSTF) 的變種版本(alpha)。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published