summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/util/performance/priority_queue/timing
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2007-09-12 23:06:27 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2007-09-12 23:06:27 +0000
commit5e11f978edb440183b510ee5ead717a03d6fcc6a (patch)
tree75559fc602e22bd583e99b2b7f544633716530f5 /libstdc++-v3/testsuite/util/performance/priority_queue/timing
parentc93646bd3ca88aa2cc99cc5a2090dc6ea4b39688 (diff)
downloadgcc-5e11f978edb440183b510ee5ead717a03d6fcc6a.tar.gz
*: Change namespace pb_ds to __gnu_pbds.
2007-09-12 Benjamin Kosnik <bkoz@redhat.com> * include/ext/pb_ds/*: Change namespace pb_ds to __gnu_pbds. * docs/html/ext/pb_ds/*: Same. * testsuite/ext/pb_ds/*: Same. * testsuite/performance/ext/pb_ds/*: Same. * testsuite/util/*: Same. From-SVN: r128448
Diffstat (limited to 'libstdc++-v3/testsuite/util/performance/priority_queue/timing')
-rw-r--r--libstdc++-v3/testsuite/util/performance/priority_queue/timing/join_test.hpp12
-rw-r--r--libstdc++-v3/testsuite/util/performance/priority_queue/timing/modify_test.hpp14
-rw-r--r--libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_pop_test.hpp10
-rw-r--r--libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_test.hpp10
4 files changed, 23 insertions, 23 deletions
diff --git a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/join_test.hpp b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/join_test.hpp
index d04f9041b3c..e419e4f173a 100644
--- a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/join_test.hpp
+++ b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/join_test.hpp
@@ -53,7 +53,7 @@
#include <common_type/priority_queue/string_form.hpp>
#include <iterator>
-namespace pb_ds
+namespace __gnu_pbds
{
namespace test
{
@@ -114,7 +114,7 @@ namespace pb_ds
} // namespace detail
template<typename It>
- class join_test : private pb_ds::test::detail::timing_test_base
+ class join_test : private __gnu_pbds::test::detail::timing_test_base
{
public:
join_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -125,9 +125,9 @@ namespace pb_ds
void
operator()(Cntnr)
{
- using pb_ds::test::detail::double_push_functor;
- using pb_ds::test::detail::double_push_join_functor;
- typedef pb_ds::test::detail::timing_test_base base_type;
+ using __gnu_pbds::test::detail::double_push_functor;
+ using __gnu_pbds::test::detail::double_push_join_functor;
+ typedef __gnu_pbds::test::detail::timing_test_base base_type;
typedef double_push_functor<It, Cntnr> psh_fnct;
typedef double_push_join_functor<It, Cntnr> psh_jn_fnct;
@@ -171,7 +171,7 @@ namespace pb_ds
const size_t m_ins_vm;
};
} // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
#endif
diff --git a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/modify_test.hpp b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/modify_test.hpp
index 33c7e58bdd1..1ce1804f297 100644
--- a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/modify_test.hpp
+++ b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/modify_test.hpp
@@ -53,7 +53,7 @@
#include <common_type/priority_queue/string_form.hpp>
#include <iterator>
-namespace pb_ds
+namespace __gnu_pbds
{
namespace test
{
@@ -126,7 +126,7 @@ namespace pb_ds
// Specializations.
template<typename It, class Cntnr>
- class push_functor<It, Cntnr, pb_ds::binary_heap_tag>
+ class push_functor<It, Cntnr, __gnu_pbds::binary_heap_tag>
{
public:
push_functor(It ins_it_b, It ins_it_e)
@@ -151,7 +151,7 @@ namespace pb_ds
};
template<typename It, class Cntnr>
- class push_functor<It, Cntnr, pb_ds::test::native_pq_tag>
+ class push_functor<It, Cntnr, __gnu_pbds::test::native_pq_tag>
{
public:
push_functor(It ins_it_b, It ins_it_e)
@@ -178,7 +178,7 @@ namespace pb_ds
template<typename It, class Cntnr>
- class push_modify_functor<It, Cntnr, pb_ds::binary_heap_tag>
+ class push_modify_functor<It, Cntnr, __gnu_pbds::binary_heap_tag>
{
private:
typedef typename Cntnr::iterator iterator;
@@ -220,7 +220,7 @@ namespace pb_ds
};
template<typename It, class Cntnr>
- class push_modify_functor<It, Cntnr, pb_ds::test::native_pq_tag>
+ class push_modify_functor<It, Cntnr, __gnu_pbds::test::native_pq_tag>
{
private:
typedef typename Cntnr::value_type value_type;
@@ -253,7 +253,7 @@ namespace pb_ds
} // namespace detail
template<typename It>
- class modify_test : private pb_ds::test::detail::timing_test_base
+ class modify_test : private __gnu_pbds::test::detail::timing_test_base
{
public:
modify_test(It b, size_t vn, size_t vs, size_t vm, bool modify_up)
@@ -333,7 +333,7 @@ namespace pb_ds
}
}
} // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
#endif
diff --git a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_pop_test.hpp b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_pop_test.hpp
index ef04c3258cc..a2303f9b1b3 100644
--- a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_pop_test.hpp
+++ b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_pop_test.hpp
@@ -53,7 +53,7 @@
#include <common_type/priority_queue/string_form.hpp>
#include <iterator>
-namespace pb_ds
+namespace __gnu_pbds
{
namespace test
{
@@ -88,7 +88,7 @@ namespace pb_ds
} // namespace detail
template<typename It>
- class push_pop_test : private pb_ds::test::detail::timing_test_base
+ class push_pop_test : private __gnu_pbds::test::detail::timing_test_base
{
public:
push_pop_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -135,17 +135,17 @@ namespace pb_ds
It ins_it_e = m_ins_b;
std::advance(ins_it_e, v);
- pb_ds::test::detail::push_pop_push_pop_functor<It, Cntnr>
+ __gnu_pbds::test::detail::push_pop_push_pop_functor<It, Cntnr>
fn(ins_it_b, ins_it_e);
const double res =
- pb_ds::test::detail::timing_test_base::operator()(fn);
+ __gnu_pbds::test::detail::timing_test_base::operator()(fn);
res_set_fmt.add_res(v, res / v);
}
}
} // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
#endif
diff --git a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_test.hpp b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_test.hpp
index d6f280501dd..961c00ec638 100644
--- a/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_test.hpp
+++ b/libstdc++-v3/testsuite/util/performance/priority_queue/timing/push_test.hpp
@@ -53,7 +53,7 @@
#include <common_type/priority_queue/string_form.hpp>
#include <iterator>
-namespace pb_ds
+namespace __gnu_pbds
{
namespace test
{
@@ -85,7 +85,7 @@ namespace pb_ds
} // namespace detail
template<typename It>
- class push_test : private pb_ds::test::detail::timing_test_base
+ class push_test : private __gnu_pbds::test::detail::timing_test_base
{
public:
push_test(It ins_b, size_t ins_vn, size_t ins_vs, size_t ins_vm)
@@ -127,11 +127,11 @@ namespace pb_ds
It ins_it_e = m_ins_b;
std::advance(ins_it_e, v);
- pb_ds::test::detail::push_push_functor<It, Cntnr>
+ __gnu_pbds::test::detail::push_push_functor<It, Cntnr>
fn(ins_it_b, ins_it_e);
const double res =
- pb_ds::test::detail::timing_test_base::operator()(fn);
+ __gnu_pbds::test::detail::timing_test_base::operator()(fn);
res_set_fmt.add_res(v, res / v);
}
@@ -148,7 +148,7 @@ namespace pb_ds
cntnr.push((typename Cntnr::const_reference)(*ins_it));
}
} // namespace test
-} // namespace pb_ds
+} // namespace __gnu_pbds
#endif