1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 20:46:03 +08:00

Update from SDK 2013

This commit is contained in:
Kenzzer
2025-02-19 18:39:00 -05:00
committed by Nicholas Hastings
parent 6d5c024820
commit 94b660e16e
7474 changed files with 2597282 additions and 1254065 deletions

View File

@ -0,0 +1,32 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: vmpi_distribute_work sends events to this module, and this module
// can track the events or display them graphically for debugging.
//
//=============================================================================//
#ifndef VMPI_DISTRIBUTE_TRACKER_H
#define VMPI_DISTRIBUTE_TRACKER_H
#ifdef _WIN32
#pragma once
#endif
// If bDebugMode is set, then it will remember all the VMPI events
// in case you call VMPITracker_WriteDebugFile.
void VMPITracker_Start( int nWorkUnits );
void VMPITracker_WorkUnitSentToWorker( int iWorkUnit, int iWorker );
void VMPITracker_WorkUnitStarted( int iWorkUnit, int iWorker );
void VMPITracker_WorkUnitCompleted( int iWorkUnit, int iWorker );
void VMPITracker_End();
// This will bring up a little menu they can use to
// write a debug file.
void VMPITracker_HandleDebugKeypresses();
bool VMPITracker_WriteDebugFile( const char *pFilename );
#endif // VMPI_DISTRIBUTE_TRACKER_H