diff options
| author | Frank Busse <bb0xfb@gmail.com> | 2022-01-07 14:14:38 +0000 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-03-23 17:41:08 +0000 |
| commit | fc3c937892998b984a59cfa740244952ff6071b9 (patch) | |
| tree | 3f2a97a94de5ea0552e6f16d6becc0b8a0bb9ab6 /lib/Core/Executor.cpp | |
| parent | a91be77e800510db50444b3e1f5ef20dbca0260c (diff) | |
| download | klee-fc3c937892998b984a59cfa740244952ff6071b9.tar.gz | |
stats: add InhibitedForks
Diffstat (limited to 'lib/Core/Executor.cpp')
| -rw-r--r-- | lib/Core/Executor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 9322f50a..c3a10144 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -897,6 +897,7 @@ void Executor::branch(ExecutionState &state, result.push_back(nullptr); } } + stats::inhibitedForks += N - 1; } else { stats::forks += N-1; @@ -1074,6 +1075,7 @@ Executor::StatePair Executor::fork(ExecutionState ¤t, ref<Expr> condition, addConstraint(current, Expr::createIsZero(condition)); res = Solver::False; } + ++stats::inhibitedForks; } } } |
