diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-12-23 02:34:47 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-29 11:36:45 -0800 |
commit | a53128b60162d7a84adca4206540df5b8e3d9dc8 (patch) | |
tree | a4d4f0e6e6ba5cc9038aa7794382b6fd3e432dd5 /cache.h | |
parent | 11daf39b74321d02d574479def29939d67c319ad (diff) | |
download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |