changeset 1404:d40246df828b

More debug logging
author Chris Cannam
date Tue, 07 Mar 2017 13:27:31 +0000
parents edee37ae5882
children 91231350ee22
files data/model/ReadOnlyWaveFileModel.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/ReadOnlyWaveFileModel.cpp	Tue Mar 07 11:48:44 2017 +0000
+++ b/data/model/ReadOnlyWaveFileModel.cpp	Tue Mar 07 13:27:31 2017 +0000
@@ -106,6 +106,10 @@
     if (m_fillThread) m_fillThread->wait();
     if (m_myReader) delete m_reader;
     m_reader = 0;
+
+    SVDEBUG << "ReadOnlyWaveFileModel: Destructor exiting; we had caches of "
+            << (m_cache[0].size() * sizeof(Range)) << " and "
+            << (m_cache[1].size() * sizeof(Range)) << " bytes" << endl;
 }
 
 bool