libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/thread_api_traits.hpp"
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE libjmmcg_tests |
Typedefs | |
typedef boost::mpl::list< ppd::heavyweight_threading, ppd::sequential_mode > | thread_types |
Functions | |
BOOST_AUTO_TEST_CASE (check_cpu_frequency) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (create_timer, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (check_timer_counter_counts, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (check_timer_usec_simply_increments, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (check_timer_usec_increments, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (create_interval, Mdl, thread_types) | |
BOOST_AUTO_TEST_CASE (measure_one_sec_thread_interval) | |
BOOST_AUTO_TEST_CASE (measure_one_sec_seq_interval) | |
BOOST_AUTO_TEST_CASE (measure_one_sec_pause) | |
#define BOOST_TEST_MODULE libjmmcg_tests |
Definition at line 21 of file hp_timer.cpp.
typedef boost::mpl::list<ppd::heavyweight_threading, ppd::sequential_mode> thread_types |
Definition at line 30 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE | ( | check_cpu_frequency | ) |
Definition at line 34 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE | ( | measure_one_sec_pause | ) |
Definition at line 133 of file hp_timer.cpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::cpu_timer::pause_for_usec().
BOOST_AUTO_TEST_CASE | ( | measure_one_sec_seq_interval | ) |
Definition at line 118 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE | ( | measure_one_sec_thread_interval | ) |
Definition at line 102 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | check_timer_counter_counts | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 54 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | check_timer_usec_increments | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 76 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | check_timer_usec_simply_increments | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 67 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | create_interval | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 92 of file hp_timer.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | create_timer | , |
Mdl | , | ||
thread_types | |||
) |
Definition at line 46 of file hp_timer.cpp.