#ifndef Timing_H
#define Timing_H
#pragma once

//#include <windows.h>
//#include <d3dx8.h>

class Timing
{
public:
	
	int GetFrameRate();
	int GetPauseTime();
	int GetTimeDeviance();
	HRESULT SetupTiming();
	void SetStartTime();
	void Pause(int);
	float GetNumTicksPerMs();
	void CalcFrameCount();
	
	//DOES NOT BELONG HERE -------
	HRESULT DisplayFrameRate(LPD3DXFONT &m_pd3dFont, int, int);

	Timing();
	~Timing();
private:
	int time_PauseTime;
	int time_FrameRate;
	INT64 time_Frequency;
	INT64 time_StartTime;
	int time_FrameCount;
	float time_Deviance;
	float time_MaxFrameRate;
};

#endif
