beta-0.89.2
[luatex.git] / source / libs / luajit / LuaJIT-src / src / lj_profile.h
blob26cb9db380cccb876711c6e31d8cd8251a390aac
1 /*
2 ** Low-overhead profiling.
3 ** Copyright (C) 2005-2015 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