windows-nt/Source/XPSP1/NT/sdktools/consume/physmem.hxx
2020-09-26 16:20:57 +08:00

35 lines
664 B
C++

//
// Universal Resource Consumer: Just an innocent stress program
// Copyright (c) Microsoft Corporation, 1997, 1998, 1999
//
//
// header: physmem.hxx
// author: silviuc
// created: Fri Apr 10 14:31:43 1998
//
#ifndef _PHYSMEM_HXX_INCLUDED_
#define _PHYSMEM_HXX_INCLUDED_
//
// Function:
//
// ConsumeAllPhysicalMemory
//
// Description:
//
// This routine will consume all physical memory.
// It will do so by increasing the working set size and locking the pages
// in memory.
//
void ConsumeAllPhysicalMemory ();
// ...
#endif // #ifndef _PHYSMEM_HXX_INCLUDED_
//
// end of header: physmem.hxx
//