STIR  6.2.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 #include "stir/common.h"
20 
21 START_NAMESPACE_STIR
22 
24 
32 
34 
47 void set_num_threads(const int num_threads = 0);
48 
50 
58 
60 
66 
67 END_NAMESPACE_STIR
void set_default_num_threads()
set current number of threads to the default
Definition: num_threads.cxx:89
int get_default_num_threads()
Get default number of threads.
Definition: num_threads.cxx:71
basic configuration include file
void set_num_threads(const int num_threads)
Set current number of threads.
Definition: num_threads.cxx:44
int get_max_num_threads()
Get current maximum number of threads.
Definition: num_threads.cxx:34