1 | /* |
---|---|
2 | ** Low-overhead profiling. |
3 | ** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h |
4 | */ |
5 | |
6 | #ifndef _LJ_PROFILE_H |
7 | #define _LJ_PROFILE_H |
8 | |
9 | #include "lj_obj.h" |
10 | |
11 | #if LJ_HASPROFILE |
12 | |
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 |
18 | |
19 | #endif |
20 | |
21 | #endif |
22 |