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.

57 lines
1.4 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bm_rrpc.hxx
  7. //
  8. // Contents: test class definition
  9. //
  10. // Classes: CRawRpc
  11. //
  12. // Functions:
  13. //
  14. // History: 19-July-93 t-martig Created
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef _BM_RAWRPC_HXX_
  18. #define _BM_RAWRPC_HXX_
  19. #include <bm_base.hxx>
  20. #include <rawrpc.h> // IRpcTest
  21. class CRawRpc : public CTestBase
  22. {
  23. public:
  24. virtual TCHAR *Name ();
  25. virtual SCODE Setup (CTestInput *input);
  26. virtual SCODE Run ();
  27. virtual SCODE Report (CTestOutput &OutputFile);
  28. virtual SCODE Cleanup ();
  29. private:
  30. LPTSTR m_pszStringBinding;
  31. handle_t m_hRpc;
  32. ULONG m_ulIterations;
  33. BOOL m_fAverage;
  34. ULONG m_ulVoidTime[TEST_MAX_ITERATIONS];
  35. ULONG m_ulVoidRCTime[TEST_MAX_ITERATIONS];
  36. ULONG m_ulDwordInTime[TEST_MAX_ITERATIONS];
  37. ULONG m_ulDwordOutTime[TEST_MAX_ITERATIONS];
  38. ULONG m_ulDwordInOutTime[TEST_MAX_ITERATIONS];
  39. ULONG m_ulStringInTime[TEST_MAX_ITERATIONS];
  40. ULONG m_ulStringOutTime[TEST_MAX_ITERATIONS];
  41. ULONG m_ulStringInOutTime[TEST_MAX_ITERATIONS];
  42. ULONG m_ulGuidInTime[TEST_MAX_ITERATIONS];
  43. ULONG m_ulGuidOutTime[TEST_MAX_ITERATIONS];
  44. };
  45. #endif