diff options
author | Frank Busse <bb0xfb@gmail.com> | 2022-01-07 14:32:22 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-03-23 17:41:08 +0000 |
commit | 895f095d3d16472b9443bda60854a3230fc7e974 (patch) | |
tree | e72218442a82fc05865676e9a5a4b1b40f335b7c /lib/Core/ExternalDispatcher.cpp | |
parent | 7b881cd894ce908a4b4e2d2ad89f90e39905905a (diff) | |
download | klee-895f095d3d16472b9443bda60854a3230fc7e974.tar.gz |
stats: add ExternalCalls
Diffstat (limited to 'lib/Core/ExternalDispatcher.cpp')
-rw-r--r-- | lib/Core/ExternalDispatcher.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Core/ExternalDispatcher.cpp b/lib/Core/ExternalDispatcher.cpp index d286bea9..d155798e 100644 --- a/lib/Core/ExternalDispatcher.cpp +++ b/lib/Core/ExternalDispatcher.cpp @@ -8,6 +8,8 @@ //===----------------------------------------------------------------------===// #include "ExternalDispatcher.h" + +#include "CoreStats.h" #include "klee/Config/Version.h" #include "klee/Module/KCallable.h" #include "klee/Module/KModule.h" @@ -158,6 +160,7 @@ ExternalDispatcherImpl::~ExternalDispatcherImpl() { bool ExternalDispatcherImpl::executeCall(KCallable *callable, Instruction *i, uint64_t *args) { + ++stats::externalCalls; dispatchers_ty::iterator it = dispatchers.find(i); if (it != dispatchers.end()) { // Code already JIT'ed for this |