What is the posix_fadvise equivalent (POSIX_FADV_DONTNEED) in windows

I want to check the read / write speed of a disk without a system cache. On linux, I can. eg:

posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED); 

How do I report that access is for Windows?

0
memory-management linux windows
Apr 20 '15 at 15:26
source share

No one has answered this question yet.

See similar questions:

98
Clear file cache to re-test performance

or similar:

7554
What and where are the stack and heap?
2453
How to install pip on windows?
2195
Is there an equivalent of "which" on the windows command line?
1975
How do I know which process the port is listening on in Windows?
1470
What ":-!!" in C code?
755
How to use sudo to redirect output to a location to which I do not have write permission?
642
How can I use grep to display only file names (no inline matches) on Linux?
585
open () in Python does not create a file if it does not exist
530
grep but only certain file extensions
305
Quickly create a large file on a Linux system?



All Articles