diff data/model/ReadOnlyWaveFileModel.cpp @ 1404:d40246df828b

More debug logging
author Chris Cannam
date Tue, 07 Mar 2017 13:27:31 +0000
parents 54af1e21705c
children 09751743647e
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