STIR 6.4.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*/
18
19#ifndef __stir_num_threads_h__
20#define __stir_num_threads_h__
21
22#include "stir/common.h"
23
24START_NAMESPACE_STIR
25
27
35
37
50void set_num_threads(const int num_threads = 0);
51
53
61
63
69
70END_NAMESPACE_STIR
71
72#endif
basic configuration include file
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
int get_max_num_threads()
Get current maximum number of threads.
Definition num_threads.cxx:33
void set_num_threads(const int num_threads)
Set current number of threads.
Definition num_threads.cxx:43