1
This commit is contained in:
commit
3bf9df6b27
15370 files changed
+5489726
No files matched your search
@@ -0,0 +1,45 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: Real-Time Hierarchical Profiling
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//===========================================================================//
|
||||
|
||||
#ifndef __VPROF_ENGINE_H__
|
||||
#define __VPROF_ENGINE_H__
|
||||
|
||||
#include "igameserverdata.h"
|
||||
|
||||
class IVProfExport;
|
||||
class CVProfile;
|
||||
|
||||
|
||||
void PreUpdateProfile( float filteredtime );
|
||||
void PostUpdateProfile();
|
||||
void UpdateVXConsoleProfile();
|
||||
|
||||
void RegisterVProfDataListener( ra_listener_id listenerID ); // remote data clients
|
||||
void RemoveVProfDataListener( ra_listener_id listenerID ); // remote data clients
|
||||
void WriteRemoteVProfData();
|
||||
|
||||
// Used to point the budget panel at remote data
|
||||
void OverrideVProfExport( IVProfExport *pExport );
|
||||
void ResetVProfExport( IVProfExport *pExport );
|
||||
|
||||
// Take a snapshot of vprof data so we can send it to the dedicated server.
|
||||
void VProfExport_SnapshotVProfHistory();
|
||||
|
||||
// Called on shutdown.
|
||||
void VProfRecord_Shutdown();
|
||||
|
||||
// Used by rpt
|
||||
void VProfExport_Pause();
|
||||
void VProfExport_Resume();
|
||||
|
||||
extern IVProfExport *g_pVProfExport; // used by engine's budget panel
|
||||
|
||||
// The budget panel and vprof panels use this for display.
|
||||
extern CVProfile *g_pVProfileForDisplay;
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user