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.

41 lines
888 B

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bm_noise.hxx
  7. //
  8. // Contents: test class definition
  9. //
  10. // Classes: CNoiseTest
  11. //
  12. // Functions:
  13. //
  14. // History: 19-July-93 t-martig Created
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef _BM_NOISE_HXX_
  18. #define _BM_NOISE_HXX_
  19. #include <bm_base.hxx>
  20. class CNoiseTest : public CTestBase
  21. {
  22. public:
  23. virtual TCHAR *Name ();
  24. virtual SCODE Setup (CTestInput *input);
  25. virtual SCODE Run ();
  26. virtual SCODE Report (CTestOutput &OutputFile);
  27. private:
  28. ULONG m_ulIterations;
  29. ULONG m_ulResolution;
  30. ULONG m_ulSleep;
  31. ULONG m_ulIdle;
  32. ULONG m_ulNoiseTime[TEST_MAX_ITERATIONS];
  33. ULONG m_ulDumpRead;
  34. ULONG m_ulDumpWrite;
  35. };
  36. #endif