Merge pull request #673 from mndrix/less-time-data

Store fewer time samples
This commit is contained in:
Gavin Andresen
2011-12-20 08:55:55 -08:00
2 changed files with 22 additions and 12 deletions

View File

@@ -598,6 +598,16 @@ public:
return (vSorted[size/2-1] + vSorted[size/2]) / 2;
}
}
int size() const
{
return vValues.size();
}
std::vector<T> sorted () const
{
return vSorted;
}
};