Boppity Bop
Boppity Bop

Reputation: 10463

How to monitor CPU cache on Windows?

I want to keep my code from flushing off the L2 cache as much as possible.

How would you achieve that in C++ / C# and how would you make it accountable.

EDIT : can I collect number of L2 cache misses alternatively? Answer : Yes Can I get the L2 cache miss count of each process on the windows platform?

Upvotes: 9

Views: 13494

Answers (1)

Boppity Bop
Boppity Bop

Reputation: 10463

It seems that people are reluctant to give away information in this area (c++ or c# doesnt matter). so I would have probably to create my own strategy which will be probably using set of approaches rather than a rigid set of rules or recipes.

To achieve max hit/miss ratio for a Windows application I would probably:

Upvotes: 4

Related Questions