mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Mirror of the LuaJIT git repository
1e213ff3c0
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). |
||
---|---|---|
doc | ||
dynasm | ||
etc | ||
src | ||
.gitignore | ||
COPYRIGHT | ||
Makefile | ||
README |
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