I am working on a project that finds of the data cache behavior of a given c program containing loops. It calculates the cache hit ratio. Anybody having realted code please post it

And your question is? We're not going to give you code just because you're too lazy to do the work yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.