STXXL
1.4.1
|
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <string>
#include <stxxl/bits/unused.h>
Go to the source code of this file.
Namespaces | |
stxxl | |
STXXL library namespace | |
Functions | |
void | stxxl::print_msg (const char *label, const std::string &msg, unsigned flags) |
#define _STXXL_NOT_VERBOSE | ( | message | ) |
#define _STXXL_PRINT | ( | label, | |
message, | |||
flags | |||
) |
#define _STXXL_PRINT_FLAGS_DEFAULT (_STXXL_PRNT_COUT | _STXXL_PRNT_LOG) |
#define _STXXL_PRINT_FLAGS_ERROR (_STXXL_PRNT_CERR | _STXXL_PRNT_ERRLOG) |
#define _STXXL_PRINT_FLAGS_VERBOSE (_STXXL_PRINT_FLAGS_DEFAULT | _STXXL_PRNT_TIMESTAMP | _STXXL_PRNT_THREAD_ID) |
#define _STXXL_PRNT_ADDNEWLINE (1 << 16) |
Definition at line 28 of file verbose.h.
Referenced by stxxl::print_msg().
#define _STXXL_PRNT_CERR (1 << 1) |
Definition at line 25 of file verbose.h.
Referenced by stxxl::print_msg().
#define _STXXL_PRNT_COUT (1 << 0) |
Definition at line 24 of file verbose.h.
Referenced by stxxl::print_msg().
#define _STXXL_PRNT_ERRLOG (1 << 3) |
Definition at line 27 of file verbose.h.
Referenced by stxxl::print_msg().
#define _STXXL_PRNT_LOG (1 << 2) |
Definition at line 26 of file verbose.h.
Referenced by stxxl::print_msg().
#define _STXXL_PRNT_THREAD_ID (1 << 18) |
Definition at line 30 of file verbose.h.
Referenced by stxxl::print_msg().
#define _STXXL_PRNT_TIMESTAMP (1 << 17) |
Definition at line 29 of file verbose.h.
Referenced by stxxl::print_msg().
#define STXXL_ASSERT | ( | condition | ) |
Definition at line 171 of file verbose.h.
Referenced by stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::acquire(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::balance(), stxxl::sort_local::create_runs(), stxxl::random_pager< npages_ >::hit(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::insert_into_root(), stxxl::ksort(), stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::schedule_write(), and stxxl::sort_helper::verify_sentinel_strict_weak_ordering().
#define STXXL_CHECK | ( | condition | ) |
#define STXXL_CHECK2 | ( | condition, | |
text | |||
) |
#define STXXL_CHECK_THROW | ( | code, | |
exception_type | |||
) |
#define STXXL_ERRMSG | ( | x | ) | _STXXL_PRINT("STXXL-ERRMSG", x, _STXXL_PRINT_FLAGS_ERROR) |
Definition at line 80 of file verbose.h.
Referenced by stxxl::stats::_reset_io_wait_time(), stxxl::request_queue_impl_1q::add_request(), stxxl::request_queue_impl_qwqr::add_request(), stxxl::linuxaio_queue::add_request(), stxxl::aligned_alloc(), stxxl::request_queue_impl_1q::cancel_request(), stxxl::request_queue_impl_qwqr::cancel_request(), stxxl::linuxaio_queue::cancel_request(), stxxl::request::check_alignment(), stxxl::request::check_nref_failed(), stxxl::check_sort_settings(), stxxl::stream::check_sorted_runs(), stxxl::ufs_file_base::close_remove(), stxxl::disk_allocator::deallocation_error(), stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::deinitialize(), stxxl::fileperblock_file< base_file_type >::discard(), stxxl::disk_allocator::dump(), stxxl::fileperblock_file< base_file_type >::export_files(), stxxl::btree::node_cache< leaf_type, self_type >::get_const_node(), stxxl::btree::node_cache< leaf_type, self_type >::get_new_node(), stxxl::btree::node_cache< leaf_type, self_type >::get_node(), stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::give_up(), stxxl::queue< ValueType, BlockSize, AllocStr, SizeType >::init(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::init(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::init(), stxxl::stream::basic_runs_merger< typename runs_creator_type::sorted_runs_type, cmp_type, alloc_strategy_type >::initialize(), stxxl::config::load_default_config(), stxxl::priority_queue< ConfigType >::make_space_available(), stxxl::matrix< ValueType, BlockSideLength >::multiply(), stxxl::matrix< ValueType, BlockSideLength >::multiply_internal(), stxxl::disk_allocator::new_blocks(), stxxl::open_file_impl(), stxxl::btree::node_cache< leaf_type, self_type >::prefetch_node(), stxxl::print_library_version_mismatch(), stxxl::random_shuffle(), stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >::release(), stxxl::stats::reset(), stxxl::stable_ksort(), stxxl::ufs_file_base::ufs_file_base(), stxxl::ufs_file_base::unlink(), stxxl::wfs_file_base::wfs_file_base(), stxxl::block_scheduler< SwappableBlockType >::~block_scheduler(), stxxl::block_scheduler_algorithm_offline_lfd< SwappableBlockType >::~block_scheduler_algorithm_offline_lfd(), stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::~block_scheduler_algorithm_offline_lru_prefetching(), stxxl::block_scheduler_algorithm_online_lru< SwappableBlockType >::~block_scheduler_algorithm_online_lru(), stxxl::block_scheduler_algorithm_simulation< SwappableBlockType >::~block_scheduler_algorithm_simulation(), stxxl::config::~config(), stxxl::file::~file(), stxxl::fileperblock_file< base_file_type >::~fileperblock_file(), and stxxl::vector< ValueType >::~vector().
#define STXXL_MSG | ( | x | ) | _STXXL_PRINT("STXXL-MSG", x, _STXXL_PRINT_FLAGS_DEFAULT) |
Definition at line 73 of file verbose.h.
Referenced by stxxl::ufs_file_base::_after_open(), stxxl::block_manager::block_manager(), stxxl::ksort_local::check_ksorted_runs(), stxxl::sort_local::check_sorted_runs(), stxxl::stream::check_sorted_runs(), stxxl::swappable_block< ValueType, BlockSideLength *BlockSideLength >::clean_async(), stxxl::config::config(), stxxl::block_scheduler_algorithm_offline_lru_prefetching< SwappableBlockType >::deinit(), stxxl::priority_queue< ConfigType >::dump_params(), stxxl::priority_queue< ConfigType >::dump_sizes(), stxxl::queue< ValueType, BlockSize, AllocStr, SizeType >::init(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::init(), stxxl::linuxaio_queue::linuxaio_queue(), stxxl::stream::basic_runs_merger< RunsType, CompareType, AllocStr >::merge_recursively(), stxxl::open_file_impl(), stxxl::swappable_block< ValueType, BlockSideLength *BlockSideLength >::read_async(), stxxl::priority_queue< ConfigType >::refill_delete_buffer(), stxxl::priority_queue< ConfigType >::refill_group_buffer(), stxxl::simple_vector< BID< BlockSize > >::resize(), stxxl::stream::basic_runs_creator< stream::use_push< ValueType >, cmp_type, BlockSize, alloc_strategy_type >::result(), stxxl::stream::runs_creator< use_push< ValueType >, CompareType, BlockSize, AllocStr >::result(), stxxl::scoped_print_timer::scoped_print_timer(), stxxl::stable_ksort(), stxxl::ufs_file_base::ufs_file_base(), and stxxl::scoped_print_timer::~scoped_print_timer().
#define STXXL_VERBOSE | ( | x | ) | STXXL_VERBOSE1(x) |
Definition at line 102 of file verbose.h.
Referenced by stxxl::ksort_local::create_runs(), stxxl::mem_file::discard(), stxxl::ksort_local::ksort_blocks(), stxxl::ksort_local::merge_runs(), stxxl::sort_local::sort_blocks(), stxxl::stable_ksort(), stxxl::stl_in_memory_sort(), stxxl::grow_shrink_stack< StackConfig >::~grow_shrink_stack(), and stxxl::normal_stack< StackConfig >::~normal_stack().
#define STXXL_VERBOSE0 | ( | x | ) | _STXXL_NOT_VERBOSE(x) |
#define STXXL_VERBOSE0_THIS | ( | x | ) | STXXL_VERBOSE0("[" << static_cast<void*>(this) << "] " << x) |
#define STXXL_VERBOSE1 | ( | x | ) | _STXXL_NOT_VERBOSE(x) |
Definition at line 99 of file verbose.h.
Referenced by stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::balance(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::begin(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::begin(), stxxl::block_prefetcher< BlockType, BidIteratorType >::block_consumed(), stxxl::block_prefetcher< BlockType, BidIteratorType >::block_prefetcher(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::btree(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::bulk_construction(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::compact_tree(), stxxl::compute_prefetch_schedule(), stxxl::stream::basic_runs_creator< Input, CompareType, BlockSize, AllocStr >::compute_result(), stxxl::stream::runs_creator< use_push< ValueType >, CompareType, BlockSize, AllocStr >::compute_result(), stxxl::sort_helper::count_elements_less_equal(), stxxl::sort_local::create_runs(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::deallocate_segment(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::double_k(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::erase(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::erase(), stxxl::stream::basic_runs_merger< typename runs_creator_type::sorted_runs_type, cmp_type, alloc_strategy_type >::fill_buffer_block(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::find(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::find(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::fuse(), stxxl::prefetch_pool< BlockType >::hint(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::increment_iterator(), stxxl::stream::basic_runs_merger< typename runs_creator_type::sorted_runs_type, cmp_type, alloc_strategy_type >::initialize(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::insert(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::insert(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::insert_into_root(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::insert_segment(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::lower_bound(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::lower_bound(), stxxl::priority_queue< ConfigType >::make_space_available(), stxxl::sort_local::merge_runs(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::multi_merge(), stxxl::disk_allocator::new_blocks(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::stream::operator++(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::reverse_stream::operator++(), stxxl::queue< ValueType, BlockSize, AllocStr, SizeType >::pop(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::pop_back(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::pop_front(), stxxl::block_prefetcher< BlockType, BidIteratorType >::pull_block(), stxxl::queue< ValueType, BlockSize, AllocStr, SizeType >::push(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::push_back(), stxxl::sequence< ValueType, BlockSize, AllocStr, SizeType >::push_front(), stxxl::random_shuffle(), stxxl::prefetch_pool< BlockType >::read(), stxxl::sort_helper::refill_or_remove_empty_sequences(), stxxl::async_schedule_local::simulate_async_write(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::split(), stxxl::stream::streamify(), stxxl::stream::streamify_sr(), stxxl::btree::normal_node< KeyType, KeyCmp, RawSize, BTreeType >::upper_bound(), stxxl::btree::btree< KeyType, DataType, CompareType, RawNodeSize, RawLeafSize, PDAllocStrategy >::upper_bound(), stxxl::stream::vector_iterator2stream_sr< InputIterator >::vector_iterator2stream_sr(), stxxl::block_prefetcher< BlockType, BidIteratorType >::wait(), stxxl::hash_map::block_cache< block_type >::~block_cache(), stxxl::block_manager::~block_manager(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::~ext_merger(), and stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::~loser_tree().
#define STXXL_VERBOSE1_THIS | ( | x | ) | STXXL_VERBOSE1("[" << static_cast<void*>(this) << "] " << x) |
#define STXXL_VERBOSE2 | ( | x | ) | _STXXL_NOT_VERBOSE(x) |
Definition at line 107 of file verbose.h.
Referenced by stxxl::disk_allocator::add_free_region(), stxxl::aligned_alloc(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::balance(), stxxl::stream::check_sorted_runs(), stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::deallocate_segment(), stxxl::disk_allocator::delete_block(), stxxl::fileperblock_file< base_file_type >::discard(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::dump(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::erase(), stxxl::hash_map::iterator_map< self_type >::fix_iterators_2end(), stxxl::hash_map::iterator_map< self_type >::fix_iterators_2ext(), stxxl::hash_map::iterator_map< self_type >::fix_iterators_2int(), stxxl::btree::normal_leaf< KeyType, DataType, KeyCmp, LogNElem, BTreeType >::fuse(), stxxl::grow_shrink_stack2< StackConfig >::grow_shrink_stack2(), stxxl::prefetch_pool< BlockType >::hint(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::init(), stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::insert_segment(), stxxl::loser_tree< RunCursorType, RunCursorCmpType >::loser_tree(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::multi_merge(), stxxl::disk_allocator::new_blocks(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::operator++(), stxxl::normal_stack< StackConfig >::pop(), stxxl::grow_shrink_stack< StackConfig >::pop(), stxxl::grow_shrink_stack2< StackConfig >::pop(), stxxl::normal_stack< StackConfig >::push(), stxxl::grow_shrink_stack< StackConfig >::push(), stxxl::grow_shrink_stack2< StackConfig >::push(), stxxl::btree::iterator_map< self_type >::register_iterator(), stxxl::hash_map::iterator_map< self_type >::register_iterator(), stxxl::btree::iterator_map< self_type >::unregister_iterator(), stxxl::hash_map::iterator_map< self_type >::unregister_iterator(), stxxl::request_queue_impl_qwqr::worker(), stxxl::grow_shrink_stack2< StackConfig >::~grow_shrink_stack2(), stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::~loser_tree(), and stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::sequence_state::~sequence_state().
#define STXXL_VERBOSE2_THIS | ( | x | ) | STXXL_VERBOSE2("[" << static_cast<void*>(this) << "] " << x) |
Definition at line 125 of file verbose.h.
Referenced by stxxl::serving_request::serve().
#define STXXL_VERBOSE3 | ( | x | ) | _STXXL_NOT_VERBOSE(x) |
Definition at line 113 of file verbose.h.
Referenced by stxxl::btree::btree_iterator_base< self_type >::btree_iterator_base(), stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::compactTree(), stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::doubleK(), stxxl::hash_map::hash_map_iterator_base< HashMap >::hash_map_iterator_base(), stxxl::priority_queue_local::loser_tree< ValueType, CompareType, MaxArity >::multi_merge(), stxxl::priority_queue_local::ext_merger< BlockType, Cmp, Arity, AllocStr >::multi_merge(), stxxl::btree::btree_iterator_base< self_type >::operator=(), stxxl::hash_map::hash_map_iterator_base< HashMap >::operator=(), stxxl::grow_shrink_stack2< StackConfig >::pop(), stxxl::grow_shrink_stack2< StackConfig >::push(), stxxl::btree::btree_iterator_base< self_type >::~btree_iterator_base(), and stxxl::hash_map::hash_map_iterator_base< HashMap >::~hash_map_iterator_base().
#define STXXL_VERBOSE3_THIS | ( | x | ) | STXXL_VERBOSE3("[" << static_cast<void*>(this) << "] " << x) |
Definition at line 128 of file verbose.h.
Referenced by stxxl::request_with_state::cancel(), stxxl::request_with_state::completed(), stxxl::request::request(), stxxl::request_with_state::wait(), stxxl::request::~request(), and stxxl::request_with_state::~request_with_state().