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.

33 lines
639 B

  1. //
  2. // Universal Resource Consumer: Just an innocent stress program
  3. // Copyright (c) Microsoft Corporation, 1997, 1998, 1999
  4. //
  5. //
  6. // header: cputime.hxx
  7. // author: silviuc
  8. // created: Wed Jun 17 18:47:10 1998
  9. //
  10. #ifndef _CPUTIME_HXX_INCLUDED_
  11. #define _CPUTIME_HXX_INCLUDED_
  12. //
  13. // Function:
  14. //
  15. // ConsumeAllCpuTime
  16. //
  17. // Description:
  18. //
  19. // This routine will consume as much cpu time as possible by creating
  20. // N threads per processor.
  21. //
  22. void ConsumeAllCpuTime ();
  23. // ...
  24. #endif // #ifndef _CPUTIME_HXX_INCLUDED_
  25. //
  26. // end of header: cputime.hxx
  27. //