34 lines
606 B
C++
34 lines
606 B
C++
|
//
|
||
|
// Universal Resource Consumer: Just an innocent stress program
|
||
|
// Copyright (c) Microsoft Corporation, 1997, 1998, 1999
|
||
|
//
|
||
|
|
||
|
//
|
||
|
// header: cputime.hxx
|
||
|
// author: silviuc
|
||
|
// created: Wed Jun 17 18:47:10 1998
|
||
|
//
|
||
|
|
||
|
#ifndef _CPUTIME_HXX_INCLUDED_
|
||
|
#define _CPUTIME_HXX_INCLUDED_
|
||
|
|
||
|
//
|
||
|
// Function:
|
||
|
//
|
||
|
// ConsumeAllCpuTime
|
||
|
//
|
||
|
// Description:
|
||
|
//
|
||
|
// This routine will consume as much cpu time as possible by creating
|
||
|
// N threads per processor.
|
||
|
//
|
||
|
|
||
|
void ConsumeAllCpuTime ();
|
||
|
|
||
|
// ...
|
||
|
#endif // #ifndef _CPUTIME_HXX_INCLUDED_
|
||
|
|
||
|
//
|
||
|
// end of header: cputime.hxx
|
||
|
//
|