- added some profiling code to the VM.
This commit is contained in:
parent
3d61d2c1f4
commit
28d79cc2b0
3 changed files with 33 additions and 1 deletions
|
|
@ -39,6 +39,10 @@
|
|||
#include "r_state.h"
|
||||
#include "textures/textures.h"
|
||||
#include "math/cmath.h"
|
||||
#include "stats.h"
|
||||
|
||||
extern cycle_t VMCycles[10];
|
||||
extern int VMCalls[10];
|
||||
|
||||
// This must be a separate function because the VC compiler would otherwise allocate memory on the stack for every separate instance of the exception object that may get thrown.
|
||||
void ThrowAbortException(EVMAbortException reason, const char *moreinfo, ...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue