Click here to Skip to main content
15,891,895 members
Articles / Desktop Programming / Win32

A minimal footprint performance monitor using Windows messaging

Rate me:
Please Sign up or sign in to vote.
2.13/5 (8 votes)
24 Feb 2008CPOL3 min read 24.4K   153   13  
In an unmanaged environment, using Windows performance monitors may prove challenging. This article propose an alternative which is both easy and efficient.
// CPP.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols


// CCPPApp:
// See CPP.cpp for the implementation of this class
//

class CCPPApp : public CWinApp
{
public:
	CCPPApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()
};

extern CCPPApp theApp;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Technologist & Executive.

Specializes in .NET, COM and the gray material between them. Intimately familiar with most MS technologies.

Developing software for a living for the last 10 years, focusing on web based enterprise software as a service for the last 8.

Comments and Discussions