mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
1
This commit is contained in:
45
engine/vprof_engine.h
Normal file
45
engine/vprof_engine.h
Normal file
@@ -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