Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 661 Bytes

README.md

File metadata and controls

32 lines (29 loc) · 661 Bytes

lruwsr

Repository Tugas Akhir

Prerequirements

  1. Install Go
  2. Install Nim

How To Run ?

  1. Choose dataset
  2. Compile converter split_financial.nim and split_websearch.num programs
nim c [nama program].nim
  1. Make directory data in root directory

  2. Running compile on dataset and choose data as directory target

./[nama program] [dataset] ../data/[output]
  1. Go get module
go get github.com/petar/GoLLRB
go get github.com/secnot/orderedmap
  1. Build main.go
go build main.go
  1. Running main and choose one algorithm
./main [algorithm(LRU|CFLRU|LRUWSR)] [file] [trace size]...