summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-26 16:54:02 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-26 18:17:00 +0200
commitebb05b803bc54bb21248b2be42e1f7accda1f595 (patch)
treea9f967b80040b646da8fb507e0337a87f6c5887e /crawl-ref/source/store.h
parent3f757922d4e306a4eb56f5348d29fd5e0c8a166d (diff)
downloadcrawl-ref-ebb05b803bc54bb21248b2be42e1f7accda1f595.tar.gz
crawl-ref-ebb05b803bc54bb21248b2be42e1f7accda1f595.zip
A way to see which props slow us down the most.
Diffstat (limited to 'crawl-ref/source/store.h')
-rw-r--r--crawl-ref/source/store.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/store.h b/crawl-ref/source/store.h
index 2f5d620aa2..ae729d326e 100644
--- a/crawl-ref/source/store.h
+++ b/crawl-ref/source/store.h
@@ -382,4 +382,9 @@ public:
iterator begin();
iterator end();
};
+
+#ifdef DEBUG_PROPS
+void dump_prop_accesses();
+#endif
+
#endif