I am currently working on a project where one of our goals is to reduce the total amount of data read from disk. Is there a way to determine the total number of bytes run by a process? I am working with on a C++ application built with Visual Studio 2005, running on Windows XP.
Ideally, I would like some sort of monitor that can print results if I specify a process name. But, if there's some sort of API I can use in my own application, that would be good too.
I know that this must be possible somehow, because I can display the total number of bytes read in the task manager as the process is running, I would like to be able to obtain this number for a process that has already finished.