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.

49 lines
1.4 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bm_init.hxx
  7. //
  8. // Contents: test class definition
  9. //
  10. // Classes: COleInitializeTest
  11. //
  12. // History: 19-July-93 t-martig Created
  13. //
  14. //--------------------------------------------------------------------------
  15. #ifndef _BM_INIT_HXX_
  16. #define _BM_INIT_HXX_
  17. #include <bm_base.hxx>
  18. class COleInitializeTest : public CTestBase
  19. {
  20. public:
  21. virtual TCHAR *Name ();
  22. virtual SCODE Setup (CTestInput *input);
  23. virtual SCODE Run ();
  24. virtual SCODE Report (CTestOutput &OutputFile);
  25. virtual SCODE Cleanup ();
  26. private:
  27. ULONG m_ulIterations;
  28. // single init the uninit times
  29. ULONG m_ulOleInitializeTime[TEST_MAX_ITERATIONS];
  30. ULONG m_ulOleUninitializeTime[TEST_MAX_ITERATIONS];
  31. // repetative init, followed by repetitive uninit
  32. ULONG m_ulRepOleInitializeTime[TEST_MAX_ITERATIONS];
  33. ULONG m_ulRepOleUninitializeTime[TEST_MAX_ITERATIONS];
  34. // single init the uninit times
  35. ULONG m_ulCoInitializeTime[TEST_MAX_ITERATIONS];
  36. ULONG m_ulCoUninitializeTime[TEST_MAX_ITERATIONS];
  37. // repetative init, followed by repetitive uninit
  38. ULONG m_ulRepCoInitializeTime[TEST_MAX_ITERATIONS];
  39. ULONG m_ulRepCoUninitializeTime[TEST_MAX_ITERATIONS];
  40. };
  41. #endif