summaryrefslogtreecommitdiff
path: root/src/iterator.h
diff options
context:
space:
mode:
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(