mirror of
https://github.com/NixOS/nix
synced 2025-07-05 20:41:47 +02:00
libexpr: Add EvalProfiler
This patch adds an EvalProfiler and MultiEvalProfiler that can be used to insert hooks into the evaluation for the purposes of function tracing (what function-trace currently does) or for flamegraph/tracy profilers. See the following commits for how this is supposed to be integrated into the evaluator and performance considerations.
This commit is contained in:
parent
e5e5c819dd
commit
6b4a86a9e3
5 changed files with 164 additions and 0 deletions
|
@ -140,6 +140,7 @@ sources = files(
|
|||
'eval-cache.cc',
|
||||
'eval-error.cc',
|
||||
'eval-gc.cc',
|
||||
'eval-profiler.cc',
|
||||
'eval-settings.cc',
|
||||
'eval.cc',
|
||||
'function-trace.cc',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue