Source code of Windows XP (NT5)
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.

34 lines
664 B

  1. //
  2. // Universal Resource Consumer: Just an innocent stress program
  3. // Copyright (c) Microsoft Corporation, 1997, 1998, 1999
  4. //
  5. //
  6. // header: physmem.hxx
  7. // author: silviuc
  8. // created: Fri Apr 10 14:31:43 1998
  9. //
  10. #ifndef _PHYSMEM_HXX_INCLUDED_
  11. #define _PHYSMEM_HXX_INCLUDED_
  12. //
  13. // Function:
  14. //
  15. // ConsumeAllPhysicalMemory
  16. //
  17. // Description:
  18. //
  19. // This routine will consume all physical memory.
  20. // It will do so by increasing the working set size and locking the pages
  21. // in memory.
  22. //
  23. void ConsumeAllPhysicalMemory ();
  24. // ...
  25. #endif // #ifndef _PHYSMEM_HXX_INCLUDED_
  26. //
  27. // end of header: physmem.hxx
  28. //