libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
unique_ptr_parallel.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/ave_deviation_meter.hpp"
#include "core/stats_output.hpp"
#include "core/thread_wrapper.hpp"
#include "core/unique_ptr.hpp"
#include <boost/move/unique_ptr.hpp>
#include <chrono>
Include dependency graph for unique_ptr_parallel.cpp:

Go to the source code of this file.

Classes

struct  obj< Mdl >
 
struct  cctor_thread< Element >
 
struct  cctor_thread< Element >::make
 
struct  dtor_thread< Element >
 
struct  dtor_thread< Element >::make
 

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Typedefs

using ptr_types = boost::mpl::list< std::unique_ptr< obj< heavyweight_threading > >, boost::movelib::unique_ptr< obj< heavyweight_threading > >, unique_ptr< obj< sequential_mode >, api_lock_traits< platform_api, sequential_mode > >, unique_ptr< obj< heavyweight_threading >, api_lock_traits< platform_api, heavyweight_threading > > >
 
using timed_results_t = ave_deviation_meter< unsigned long long >
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (parallel_cctor, ptr_t, ptr_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (parallel_deletes, ptr_t, ptr_types)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   libjmmcg_tests

Definition at line 21 of file unique_ptr_parallel.cpp.

Typedef Documentation

◆ ptr_types

typedef boost::mpl::list< std::unique_ptr< obj< heavyweight_threading > >, boost::movelib::unique_ptr< obj< heavyweight_threading > >, unique_ptr< obj< sequential_mode >, api_lock_traits< platform_api, sequential_mode > >, unique_ptr< obj< heavyweight_threading >, api_lock_traits< platform_api, heavyweight_threading > > > ptr_types

Definition at line 54 of file unique_ptr_parallel.cpp.

◆ timed_results_t

using timed_results_t = ave_deviation_meter<unsigned long long>

Definition at line 60 of file unique_ptr_parallel.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/2]

BOOST_AUTO_TEST_CASE_TEMPLATE ( parallel_cctor  ,
ptr_t  ,
ptr_types   
)

\xrefitem test 1. \xrefitem test 152.

Definition at line 129 of file unique_ptr_parallel.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/2]

BOOST_AUTO_TEST_CASE_TEMPLATE ( parallel_deletes  ,
ptr_t  ,
ptr_types   
)

\xrefitem test 2. \xrefitem test 153.

Definition at line 177 of file unique_ptr_parallel.cpp.