Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
431 B

  1. rem
  2. rem This is a sample script to stress prefetcher. On a checked build
  3. rem (so that we always prefetch&trace regardless of launch frequency)
  4. rem first make copies of pfapp.exe using a for loop:
  5. rem
  6. rem for /L %a in (1,1,100) do copy pfapp.exe pfapp_%a.exe
  7. rem
  8. rem then launch this script in the same directory.
  9. rem
  10. for /L %%a in (1,1,1000000) do (
  11. for /L %%b in (1,1,100) do pfapp_%%b.exe -data pfapp_%%b.exe
  12. )