TPIE

v1.1rc1-6-g0c97303
tpie.h
Go to the documentation of this file.
1 // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*-
2 // vi:set ts=4 sts=4 sw=4 noet :
3 // Copyright 2011, The TPIE development team
4 //
5 // This file is part of TPIE.
6 //
7 // TPIE is free software: you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License as published by the
9 // Free Software Foundation, either version 3 of the License, or (at your
10 // option) any later version.
11 //
12 // TPIE is distributed in the hope that it will be useful, but WITHOUT ANY
13 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public License
18 // along with TPIE. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __TPIE_TPIE_H__
20 #define __TPIE_TPIE_H__
21 
22 #include <tpie/config.h>
23 #include <tpie/types.h>
24 
28 
32 
33 namespace tpie {
34 
38 enum subsystem {
54 };
55 
60 void tpie_init(int subsystems=ALL);
61 
68 void tpie_finish(int subsystems=ALL);
69 
77 memory_size_type get_block_size();
78 
84 void set_block_size(memory_size_type block_size);
85 
86 } //namespace tpie
87 
88 #endif //__TPIE_TPIE_H__
memory_size_type get_block_size()
Get the TPIE block size.
Standard types.
subsystem
Subsystems of TPIE.
Definition: tpie.h:38
Needed for tpie_new and tpie_delete and implicitly needed by all TPIE algorithm and data structure im...
Definition: tpie.h:41
void set_block_size(memory_size_type block_size)
Set the TPIE block size.
Alias for all default subsystems.
Definition: tpie.h:53
void tpie_init(int subsystems=ALL)
Initialize the given subsystems of TPIE.
Prime number database, for prime.h.
Definition: tpie.h:47
Capture fractions.
Definition: tpie.h:51
Job manager, for job.h and the parallel quick sort.
Definition: tpie.h:49
void tpie_finish(int subsystems=ALL)
Deinitialize the given subsystems of TPIE.
TPIE logging framework.
Definition: tpie.h:43
Progress tracking.
Definition: tpie.h:45