This commit is contained in:
FluorescentCIAAfricanAmerican
2020-04-22 12:56:21 -04:00
commit 3bf9df6b27
15370 changed files with 5489726 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef PERF_COUNTERS_H
#define PERF_COUNTERS_H
#ifdef _WIN32
#pragma once
#endif
class IPerfTracker
{
public:
virtual void Init( unsigned long dwProcessID ) = 0;
virtual void Release() = 0;
virtual unsigned long GetProcessID() = 0;
virtual void GetPerfData( int &processorPercentage, int &memoryUsageMegabytes ) = 0;
};
IPerfTracker* CreatePerfTracker();
#endif // PERF_COUNTERS_H