blob: dca6076d67e0e2fe294dc80d3273ecba5225b3b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
|