STIR  6.3.0
num_threads.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2015, University College London
3  This file is part of STIR.
4 
5  SPDX-License-Identifier: Apache-2.0
6 
7  See STIR/LICENSE.txt for details
8 */
19 #ifndef __stir_num_threads_h__
20 #define __stir_num_threads_h__
21 
22 #include "stir/common.h"
23 
24 START_NAMESPACE_STIR
25 
27 
35 
37 
50 void set_num_threads(const int num_threads = 0);
51 
53 
61 
63 
69 
70 END_NAMESPACE_STIR
71 
72 #endif
void set_default_num_threads()
set current number of threads to the default
Definition: num_threads.cxx:88
int get_default_num_threads()
Get default number of threads.
Definition: num_threads.cxx:70
basic configuration include file
void set_num_threads(const int num_threads)
Set current number of threads.
Definition: num_threads.cxx:43
int get_max_num_threads()
Get current maximum number of threads.
Definition: num_threads.cxx:33