postgresql/src/backend/jit/llvm
Andres Freund 33001fd7a7 Collect JIT instrumentation from workers.
Previously, when using parallel query, EXPLAIN (ANALYZE)'s JIT
compilation timings did not include the overhead from doing so on the
workers.  Fix that.

We do so by simply aggregating the cost of doing JIT compilation on
workers and the leader together. Arguably that's not quite accurate,
because the total time spend doing so is spent in parallel - but it's
hard to do much better.  For additional detail, when VERBOSE is
specified, the stats for workers are displayed separately.

Author: Amit Khandekar and Andres Freund
Discussion: https://postgr.es/m/CAJ3gD9eLrz51RK_gTkod+71iDcjpB_N8eC6vU2AW-VicsAERpQ@mail.gmail.com
Backpatch: 11-
2018-09-25 13:12:44 -07:00
..
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
llvmjit.c Collect JIT instrumentation from workers. 2018-09-25 13:12:44 -07:00
llvmjit_deform.c Quick adaption of JIT tuple deforming to the fast default patch. 2018-03-27 21:03:10 -07:00
llvmjit_error.cpp Correct some typos in the new JIT code. 2018-03-26 12:58:17 -07:00
llvmjit_expr.c Collect JIT instrumentation from workers. 2018-09-25 13:12:44 -07:00
llvmjit_inline.cpp LLVMJIT: Check for 'noinline' attribute in recursively inlined functions. 2018-07-25 16:23:59 -07:00
llvmjit_types.c Fix more wrong paths in header comments 2018-07-11 17:57:04 +03:00
llvmjit_wrap.cpp LLVMJIT: LLVMGetHostCPUFeatures now is upstream, use LLMV version if available. 2018-08-24 10:21:38 -07:00