Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-29 01:04:29 +0400
committerRussell Belfer <rb@github.com>2014-05-02 20:21:32 +0400
commit240f4af321612a0fe4cf01aed75a8cb44173feb8 (patch)
treed92455ee46456a2de161b1128b0555e9a6e43401 /src/iterator.h
parent6a1ca96e4193f79c16c6a71dd8b5d576acf22e91 (diff)
Add build option for diff internal statistics
Diffstat (limited to 'src/iterator.h')
-rw-r--r--src/iterator.h4
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(