summaryrefslogtreecommitdiff
path: root/src/powerlist.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-03-22 01:09:15 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2019-05-11 14:58:45 +0200
commit9c5efc23764522597a53a8745860cec54ea55d69 (patch)
treed672afdf2e11553d36370cc1abbef5033557f85e /src/powerlist.cc
parent50b011c4740a5ec5338903b1d8b5fbb4b42f3df3 (diff)
Add settings and GUI for new sampling algorithm.
Diffstat (limited to 'src/powerlist.cc')
-rw-r--r--src/powerlist.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/powerlist.cc b/src/powerlist.cc
index a0510ad..c78b071 100644
--- a/src/powerlist.cc
+++ b/src/powerlist.cc
@@ -65,6 +65,7 @@ void PowerList::add(Sample* sample)
samples.push_back(item);
}
+// FIXME: remove all?
const Channel* PowerList::getMasterChannel()
{
std::map<const Channel*, int> count;
@@ -129,6 +130,7 @@ const Channel* PowerList::getMasterChannel()
return master;
}
+// FIXME: clean up significantly!
void PowerList::finalise()
{
#ifdef AUTO_CALCULATE_POWER