diff options
author | Russell Belfer <rb@github.com> | 2014-04-28 14:04:29 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-05-02 09:21:32 -0700 |
commit | 240f4af321612a0fe4cf01aed75a8cb44173feb8 (patch) | |
tree | d92455ee46456a2de161b1128b0555e9a6e43401 /src/iterator.h | |
parent | 6a1ca96e4193f79c16c6a71dd8b5d576acf22e91 (diff) | |
download | libgit2-240f4af321612a0fe4cf01aed75a8cb44173feb8.tar.gz |
Add build option for diff internal statistics
Diffstat (limited to 'src/iterator.h')
-rw-r--r-- | src/iterator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iterator.h b/src/iterator.h index ba9c1e486..2968b8c0c 100644 --- a/src/iterator.h +++ b/src/iterator.h @@ -53,6 +53,10 @@ struct git_iterator { char *end; int (*prefixcomp)(const char *str, const char *prefix); unsigned int flags; +#ifdef GIT_PERF + size_t stat_calls; + size_t submodule_lookups; +#endif }; extern int git_iterator_for_nothing( |