Merge branch 'master' into v2.1
[luajit-2.0.git] / src / lj_profile.h
blob384d7052881490db1b4fe53ee8f03b9db93ec346
1 /*
2 ** Low-overhead profiling.
3 ** Copyright (C) 2005-2014 Mike Pall. See Copyright Notice in luajit.h
4 */
6 #ifndef _LJ_PROFILE_H
7 #define _LJ_PROFILE_H
9 #include "lj_obj.h"
11 #if LJ_HASPROFILE
13 LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L);
14 #if !LJ_PROFILE_SIGPROF
15 LJ_FUNC void LJ_FASTCALL lj_profile_hook_enter(global_State *g);
16 LJ_FUNC void LJ_FASTCALL lj_profile_hook_leave(global_State *g);
17 #endif
19 #endif
21 #endif