mirror of https://github.com/tongzx/nt5src
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.
33 lines
606 B
33 lines
606 B
//
|
|
// 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
|
|
//
|