src/lj_profile.h - luajit-2.0-src

Macros defined

Source code

  1. /*
  2. ** Low-overhead profiling.
  3. ** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h
  4. */

  5. #ifndef _LJ_PROFILE_H
  6. #define _LJ_PROFILE_H

  7. #include "lj_obj.h"

  8. #if LJ_HASPROFILE

  9. LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L);
  10. #if !LJ_PROFILE_SIGPROF
  11. LJ_FUNC void LJ_FASTCALL lj_profile_hook_enter(global_State *g);
  12. LJ_FUNC void LJ_FASTCALL lj_profile_hook_leave(global_State *g);
  13. #endif

  14. #endif

  15. #endif