title: How can I invalidate the file system cache?
body: <p>I want to measure/optimize the &quot;cold boot&quot; startup performance of an application, and it's difficult to do this without an actual reboot, which is obviously not an ideal solution.</p>
  <p>Is there a way I could invalidate entire system's file cache, so that mapped page accesses actually cause a disk access, so that I can measure the time my program takes to start up?</p>
  <h3>Information:</h3>
  <p>I pretty much need <code>FSCTL_DISMOUNT_VOLUME</code>'s functionality, but for the system volume.</p>