mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-16 14:16:16 +00:00
* Replaced syncing chunks with ChunkList::sync_chunks which allows the
caller greater control through the use of flags. MS_SYNC is only used if the caller either requires it or asks for remaining free diskspace to be checked. * Moved various flags from DownloadMain to DownloadInfo. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@744 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -100,8 +100,10 @@ WindowPeerInfo::redraw() {
|
|||||||
// m_canvas->print(0, y++, "SndBuf: %u", torrent::connection_manager()->send_buffer_size());
|
// m_canvas->print(0, y++, "SndBuf: %u", torrent::connection_manager()->send_buffer_size());
|
||||||
// m_canvas->print(0, y++, "RcvBuf: %u", torrent::connection_manager()->receive_buffer_size());
|
// m_canvas->print(0, y++, "RcvBuf: %u", torrent::connection_manager()->receive_buffer_size());
|
||||||
|
|
||||||
m_canvas->print(0, y++, "MemUsage: %llu", torrent::chunk_manager()->memory_usage());
|
m_canvas->print(0, y++, "Memory Usage: %llu MB", torrent::chunk_manager()->memory_usage() / (1 << 20));
|
||||||
m_canvas->print(0, y++, "MaxMemUsage: %llu", torrent::chunk_manager()->max_memory_usage());
|
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));
|
||||||
|
|
||||||
y++;
|
y++;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user