diff data/fileio/WavFileReader.cpp @ 1258:200c60de27ca 3.0-integration

More timings and cache hit counts
author Chris Cannam
date Thu, 10 Nov 2016 09:58:28 +0000
parents d8d6d01505ed
children 0a9193dc136b
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp	Thu Nov 10 09:23:05 2016 +0000
+++ b/data/fileio/WavFileReader.cpp	Thu Nov 10 09:58:28 2016 +0000
@@ -16,6 +16,7 @@
 #include "WavFileReader.h"
 
 #include "base/HitCount.h"
+#include "base/Profiler.h"
 
 #include <iostream>
 
@@ -138,6 +139,8 @@
 
     QMutexLocker locker(&m_mutex);
 
+    Profiler profiler("WavFileReader::getInterleavedFrames");
+    
     if (!m_file || !m_channelCount) {
         return {};
     }