Giter Club home page Giter Club logo

cachesim's Introduction

CacheSim

[email protected]

http://github.com/jiangxincode

You can see another cache simulator in: http://pages.cs.wisc.edu/~markhill/DineroIV/

版本改动

Version 0.01-0.11:

  • 完成基本结构,能够实现直接映射,回写方法的Cache模拟。

Version 0.12:

  • 优化了程序结构,将所有的全局数据变量、结构的定义声明等全部放到了base.cpp/base.h中;将所有的函数的定义和声明放到了functions.cpp/functions.h中。

Version 0.13:

  • 大幅度优化了程序,改善了程序结构,修复了大量隐含bug,并将一直可能隐含bug,但还没有时间解决的部分全部做了标记;改善了提示信息,便于调试。

Version 0.14:※

  • 能够正确实现全相联,随机替换策略、回写法。

Version 0.15:

  • 大幅度优化了程序,改善了程序结构。特别是其中关于条件编译的部分。

Version 0.16:

  • 更改了部分变量的命名,使其更加容易阅读。删除了部分无用文件。

Version 0.17:※

  • 能够正确实现组相联,随机替换策略、回写法

Version 0.18

  • 优化了程序,加快了运行速度

Version 0.19

  • 实现了LRU的基本框架,但是发现了严重bug,肯能会产生回退。

Version 0.20

  • 消除了Version 0.19中的严重bug,消除了部分冗余代码。

Version 0.21

  • 编码全部设置为UTF-8

Version 0.22

  • 删除了不必要信息,比如作者信息,退出信息
  • 重新format代码
  • 删除不必要的using namespace std;

Version 0.22

  • merge部分文件

cachesim's People

Contributors

jiangxincode avatar yourens avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.