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
36 lines
853 B
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 09/07/2001
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: PerformanceCounter.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of PerformanceCounter.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __PERFORMANCE__COUNTER__H__INCLUDED__
|
|
#define __PERFORMANCE__COUNTER__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class CPerformanceCounter
|
|
{
|
|
public:
|
|
double End();
|
|
void Begin();
|
|
|
|
public:
|
|
CPerformanceCounter();
|
|
virtual ~CPerformanceCounter();
|
|
|
|
protected:
|
|
LARGE_INTEGER m_liFrequency;
|
|
LARGE_INTEGER m_liCounter;
|
|
};
|
|
|
|
#endif
|