Old fashion design for PC-104
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.

36 lines
853 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 09/07/2001
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: PerformanceCounter.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PerformanceCounter.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __PERFORMANCE__COUNTER__H__INCLUDED__
  15. #define __PERFORMANCE__COUNTER__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CPerformanceCounter
  20. {
  21. public:
  22. double End();
  23. void Begin();
  24. public:
  25. CPerformanceCounter();
  26. virtual ~CPerformanceCounter();
  27. protected:
  28. LARGE_INTEGER m_liFrequency;
  29. LARGE_INTEGER m_liCounter;
  30. };
  31. #endif