Encerrado

Fully Associative Cache

You should implement a fully associative cache, that evicts cache

lines based on an LRU policy.

class FullyAssociativeCache

{

public FullyAssociativeCache(int totalSizeInKB, int bytesPerCacheLine)

{

// your implementation here

}

public bool ApplyAddress(int address)

{

// your implementation here

}

}

The ApplyAddress function should return true when a cache hit occurs, and false

when a cache miss occurs.

Using this class write a program that reads a list of memory addresses from a file and prints out whether the address result in a cache hit or miss.

As part of your submission you should include a sample list of memory addresses, explaining

why your program reported a cache hit or miss in each case.

Habilidades: Java, Arquitetura de software

Ver mais: cache, cache c, lru program, file cache, write pdf file using, lru, java lines program, reads file sample program

Acerca do Empregador:
( 9 comentários ) London, Ireland

ID do Projeto: #6800575

7 freelancers estão ofertando em média €90 para este trabalho

eperfections

Dear, I am #1 Java programmer and did 600+ projects using java. I can implement this fully associative cache. Thanks

€147 EUR in 3 dias
(464 Comentários)
7.5
frcaton

Hello, i see that you splitted the task in two projects. I can do both for 100 or just this one for 80. Regards. - Fernando.

€80 EUR in 2 dias
(46 Comentários)
5.8
phone0001

Hi, I have page with exact description on how to implement LRU cache. (It is on russian): http://habrahabr.ru/post/136758 . Using this page I can easily do the full job. With best regards, Konstantin.

€34 EUR in 2 dias
(6 Comentários)
4.4
NaveenNishaan

A proposal has not yet been provided

€100 EUR in 2 dias
(17 Comentários)
4.2
tonygiri

I have 5 years of experience in developing java/j2ee applications. I can complete the task with code quality and testing and ontime delivery

€133 EUR in 3 dias
(2 Comentários)
1.0
muhamedhafez

Hello, I am a Java developer. I have been using Java for more than 6 years. I have plenty of experience in Java desktop development. I hope I can help you with your project. I am available for more discussion o Mais

€50 EUR in 3 dias
(2 Comentários)
1.0
qian0512

Hello! I have 10+ experience in IT industry. I have 7+ years of developing desktop applications and websites. I am looking for opportunities to use and sharpen my existing skills, and hopefully acquire and develop n Mais

€88 EUR in 2 dias
(0 Comentários)
0.0