Mercurial > hg > svgui
diff layer/Colour3DPlotRenderer.cpp @ 1164:f2f43802718b 3.0-integration
More timings and cache hit counts
author | Chris Cannam |
---|---|
date | Thu, 10 Nov 2016 09:58:28 +0000 |
parents | ab169938832a |
children | c036560a7205 |
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp Tue Nov 08 14:55:53 2016 +0000 +++ b/layer/Colour3DPlotRenderer.cpp Thu Nov 10 09:58:28 2016 +0000 @@ -289,6 +289,8 @@ Colour3DPlotRenderer::getColumn(int sx, int minbin, int nbins, bool usePeakCache) const { + Profiler profiler("Colour3DPlotRenderer::getColumn"); + // order: // get column -> scale -> normalise -> record extents -> // peak pick -> distribute/interpolate -> apply display gain @@ -737,6 +739,8 @@ RenderTimer::FastRender : RenderTimer::NoTimeout); + Profiler profiler("Colour3DPlotRenderer::renderDrawBuffer"); + int divisor = 1; const DenseThreeDimensionalModel *sourceModel = m_sources.source; if (usePeakCache) { @@ -977,7 +981,7 @@ } if (!pixelPeakColumn.empty()) { - + for (FFTModel::PeakSet::const_iterator pi = peakfreqs.begin(); pi != peakfreqs.end(); ++pi) {