ljx

FORK: LuaJIT with native 5.2 and 5.3 support
git clone https://git.neptards.moe/neptards/ljx.git
Log | Files | Refs | README

lj_profile.h (430B)


      1 /*
      2 ** Low-overhead profiling.
      3 ** Copyright (C) 2005-2016 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