|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73229 - sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark
From: cpp.cabrera_at_[hidden]
Date: 2011-07-19 02:37:36
Author: alejandro
Date: 2011-07-19 02:37:34 EDT (Tue, 19 Jul 2011)
New Revision: 73229
URL: http://svn.boost.org/trac/boost/changeset/73229
Log:
Updated benchmarks to compile under recent API changes.
Text files modified:
sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/bloom_insert.cpp | 6 +++---
sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/meta_compare.cpp | 14 +++++++-------
2 files changed, 10 insertions(+), 10 deletions(-)
Modified: sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/bloom_insert.cpp
==============================================================================
--- sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/bloom_insert.cpp (original)
+++ sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/bloom_insert.cpp 2011-07-19 02:37:34 EDT (Tue, 19 Jul 2011)
@@ -14,14 +14,14 @@
#include "detail/generator.hpp"
#include "detail/benchmark.hpp"
-#include <boost/bloom_filter/bloom.hpp>
+#include <boost/bloom_filter/basic_bloom_filter.hpp>
#include <boost/progress.hpp>
#include <iostream>
using namespace std;
using boost::detail::Pow;
using boost::detail::benchmark;
using boost::detail::generator;
-using boost::bloom_filter::bloom_filter;
+using boost::bloom_filters::basic_bloom_filter;
int main()
{
@@ -35,7 +35,7 @@
for (size_t i = 0; i < REPEAT; ++i, ++progress) {
benchmark<int, OPS,
generator<int>,
- bloom_filter<int, BITS> > bench;
+ basic_bloom_filter<int, BITS> > bench;
bench.run();
Modified: sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/meta_compare.cpp
==============================================================================
--- sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/meta_compare.cpp (original)
+++ sandbox/bloom_filter/trunk/libs/bloom_filter/benchmark/meta_compare.cpp 2011-07-19 02:37:34 EDT (Tue, 19 Jul 2011)
@@ -11,17 +11,17 @@
//////////////////////////////////////////////////////////////////////////////
#include <iostream>
-#include <boost/bloom_filter/bloom.hpp>
-#include <boost/bloom_filter/dynamic_bloom.hpp>
-#include <boost/bloom_filter/counting_bloom.hpp>
+#include <boost/bloom_filter/basic_bloom_filter.hpp>
+#include <boost/bloom_filter/dynamic_bloom_filter.hpp>
+#include <boost/bloom_filter/counting_bloom_filter.hpp>
#include <boost/unordered_set.hpp>
#include <set>
-using boost::bloom_filter::bloom_filter;
-using boost::bloom_filter::dynamic_bloom_filter;
-using boost::bloom_filter::counting_bloom_filter;
+using boost::bloom_filters::basic_bloom_filter;
+using boost::bloom_filters::dynamic_bloom_filter;
+using boost::bloom_filters::counting_bloom_filter;
using boost::unordered_set;
-typedef bloom_filter<int, 1000> basic_bloom;
+typedef basic_bloom_filter<int, 1000> basic_bloom;
typedef dynamic_bloom_filter<int> basic_dynamic_bloom;
typedef counting_bloom_filter<int, 1000> counting_bloom;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk