X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Fglulxe%2Fglulxe.h;fp=interpreters%2Fglulxe%2Fglulxe.h;h=64a9f7f4128618472951e40e6132c45605d67bce;hb=2ab029c7428eb3e4894e7d165815c90fbc39a8b2;hp=72308a650c6bd5510470202cd4d6a245ed536888;hpb=c4142afddd5b220686eb64c4bd346a722f9e20c1;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/glulxe/glulxe.h b/interpreters/glulxe/glulxe.h index 72308a6..64a9f7f 100644 --- a/interpreters/glulxe/glulxe.h +++ b/interpreters/glulxe/glulxe.h @@ -254,20 +254,21 @@ extern glui32 perform_glk(glui32 funcnum, glui32 numargs, glui32 *arglist); extern strid_t find_stream_by_id(glui32 objid); /* profile.c */ +extern void setup_profile(strid_t stream, char *filename); extern int init_profile(void); #if VM_PROFILING extern glui32 profile_opcount; #define profile_tick() (profile_opcount++) -extern void profile_in(glui32 addr, int accel); -extern void profile_out(void); +extern void profile_in(glui32 addr, glui32 stackuse, int accel); +extern void profile_out(glui32 stackuse); extern void profile_fail(char *reason); extern void profile_quit(void); #else /* VM_PROFILING */ -#define profile_tick() (0) -#define profile_in(addr, accel) (0) -#define profile_out() (0) -#define profile_fail(reason) (0) -#define profile_quit() (0) +#define profile_tick() (0) +#define profile_in(addr, stackuse, accel) (0) +#define profile_out(stackuse) (0) +#define profile_fail(reason) (0) +#define profile_quit() (0) #endif /* VM_PROFILING */ /* accel.c */