From 8a6683559639d897accf255b771b683df9140b97 Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Sat, 30 Jun 2001 06:46:20 +0000 Subject: [PATCH] added profiler support to the dynamic symbol structure --- harbour/include/hbvmpub.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/harbour/include/hbvmpub.h b/harbour/include/hbvmpub.h index 83b3354894..f2df918194 100644 --- a/harbour/include/hbvmpub.h +++ b/harbour/include/hbvmpub.h @@ -84,6 +84,8 @@ typedef struct _HB_DYNS HB_HANDLE hMemvar; /* Index number into memvars ( publics & privates ) array */ PHB_SYMB pSymbol; /* pointer to its relative local symbol */ PHB_FUNC pFunPtr; /* Pointer to the function address */ + ULONG ulCalls; /* profiler support */ + ULONG ulTime; /* profiler support */ } HB_DYNS, * PHB_DYNS, * HB_DYNS_PTR; #define HB_DYNS_FUNC( hbfunc ) BOOL hbfunc( PHB_DYNS pDynSymbol, void * Cargo ) @@ -105,4 +107,4 @@ extern void hb_vmExecute( const BYTE * pCode, PHB_SYMB pSymbols ); /* invokes t } #endif -#endif /* HB_VMPUB_H_ */ +#endif /* HB_VMPUB_H_ */ \ No newline at end of file