Mirror of the LuaJIT git repository
Go to file
Luke Gorrie 1e213ff3c0 Added LUAJIT_TRACEPROFILE
Trace profiling takes regular samples of the program counter and uses
them to maintain three new counters for each trace:

  nonloop: Samples taken when running the non-loop part of the trace
  loop:    Samples taken when running the loop part of the trace
  other:   Samples taken outside the trace mcode (e.g. FFI calls)

Trace profiling can be enabled and disabled with:

  jit.traceprofile.start(interval)
  jit.traceprofile.stop()

The current counter values for a trace can be queried via an extension
to the JIT introspection API:

  jit.util.tracestats(tr) => nonloop, loop, other

The overall intention of these counters is to enable development of
trace-oriented profiling tools, including self-profiling programs that
can identify suspicious traces to flush (e.g. traces that are biased
away from the root trace).
2016-10-15 23:14:14 +02:00
doc Merge branch 'master' into v2.1 2016-07-31 13:42:49 +02:00
dynasm DynASM/MIPS: Add missing MIPS64 instructions. 2016-05-28 05:09:24 +02:00
etc RELEASE LuaJIT-2.1.0-beta2 2016-03-03 12:40:02 +01:00
src Added LUAJIT_TRACEPROFILE 2016-10-15 23:14:14 +02:00
.gitignore RELEASE LuaJIT-2.0.0-beta1 2009-12-08 19:46:35 +01:00
COPYRIGHT Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00
Makefile Merge branch 'master' into v2.1 2016-03-22 22:22:51 +01:00
README RELEASE LuaJIT-2.1.0-beta2 2016-03-03 12:40:02 +01:00

README for LuaJIT 2.1.0-beta2
-----------------------------

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: http://luajit.org/

LuaJIT is Copyright (C) 2005-2016 Mike Pall.
LuaJIT is free software, released under the MIT license.
See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format.
Please point your favorite browser to:

 doc/luajit.html