summaryrefslogtreecommitdiff
path: root/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-09-07 10:07:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-09-07 10:07:14 +0000
commitce38b262dce6b9f416231d205b294c4b30912b20 (patch)
treefafb76fe57097be200a0f072e27603a82a87bd17 /Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h
parent12b7886d9ba059dcf4d8c2d3f534426b7476c447 (diff)
LuaJIT 2.1.0-beta1
git-svn-id: svn://tug.org/texlive/trunk@38315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h')
-rw-r--r--Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h b/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h
new file mode 100644
index 00000000000..26cb9db380c
--- /dev/null
+++ b/Build/source/libs/luajit/LuaJIT-2.1.0-beta1/src/lj_profile.h
@@ -0,0 +1,21 @@
+/*
+** Low-overhead profiling.
+** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h
+*/
+
+#ifndef _LJ_PROFILE_H
+#define _LJ_PROFILE_H
+
+#include "lj_obj.h"
+
+#if LJ_HASPROFILE
+
+LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L);
+#if !LJ_PROFILE_SIGPROF
+LJ_FUNC void LJ_FASTCALL lj_profile_hook_enter(global_State *g);
+LJ_FUNC void LJ_FASTCALL lj_profile_hook_leave(global_State *g);
+#endif
+
+#endif
+
+#endif