* Detect the amount of address space available for mapping chunks and

use that to decide when syncing is needed.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@745 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-07-21 20:19:55 +00:00
parent 345c57e9bc
commit 652fd25c07
4 changed files with 7 additions and 19 deletions
+1
View File
@@ -104,6 +104,7 @@ WindowPeerInfo::redraw() {
m_canvas->print(0, y++, "Max Memory Usage: %llu MB", torrent::chunk_manager()->max_memory_usage() / (1 << 20));
m_canvas->print(0, y++, "Free Diskspace: %llu MB", m_download->download()->free_diskspace() / (1 << 20));
m_canvas->print(0, y++, "Safe Diskspace: %llu MB", torrent::chunk_manager()->safe_free_diskspace() / (1 << 20));
y++;