aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-12-23 02:34:47 -0500
committerJunio C Hamano <junkio@cox.net>2006-12-29 11:36:45 -0800
commita53128b60162d7a84adca4206540df5b8e3d9dc8 (patch)
treea4d4f0e6e6ba5cc9038aa7794382b6fd3e432dd5 /cache.h
parent11daf39b74321d02d574479def29939d67c319ad (diff)
downloadgit-a53128b60162d7a84adca4206540df5b8e3d9dc8.tar.gz
git-a53128b60162d7a84adca4206540df5b8e3d9dc8.tar.xz
Create pack_report() as a debugging aid.
Much like the alloc_report() function can be useful to report on object allocation statistics while debugging the new pack_report() function can be useful to report on the behavior of the mmap window code used for packfile access. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index c7d7e4dcc..a5fc23235 100644
--- a/cache.h
+++ b/cache.h
@@ -398,6 +398,7 @@ extern void install_packed_git(struct packed_git *pack);
extern struct packed_git *find_sha1_pack(const unsigned char *sha1,
struct packed_git *packs);
+extern void pack_report();
extern unsigned char* use_pack(struct packed_git *, struct pack_window **, unsigned long, unsigned int *);
extern void unuse_pack(struct pack_window **);
extern struct packed_git *add_packed_git(char *, int, int);