Intel® OpenMP* Runtime Library
Main Page
Modules
Classes
All
Classes
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
src
kmp_debugger.h
1
#if USE_DEBUGGER
2
/*
3
* kmp_debugger.h -- debugger support.
4
*/
5
6
/* <copyright>
7
Copyright (c) 1997-2015 Intel Corporation. All Rights Reserved.
8
9
Redistribution and use in source and binary forms, with or without
10
modification, are permitted provided that the following conditions
11
are met:
12
13
* Redistributions of source code must retain the above copyright
14
notice, this list of conditions and the following disclaimer.
15
* Redistributions in binary form must reproduce the above copyright
16
notice, this list of conditions and the following disclaimer in the
17
documentation and/or other materials provided with the distribution.
18
* Neither the name of Intel Corporation nor the names of its
19
contributors may be used to endorse or promote products derived
20
from this software without specific prior written permission.
21
22
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
34
</copyright> */
35
36
#ifndef KMP_DEBUGGER_H
37
#define KMP_DEBUGGER_H
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif // __cplusplus
42
43
extern
int
__kmp_debugging;
/* Boolean whether currently debugging OpenMP RTL */
44
// Return number of threads specified by the debugger for given parallel region.
45
int
__kmp_omp_num_threads(
ident_t
const
*
ident
);
46
47
#ifdef __cplusplus
48
}
// extern "C"
49
#endif // __cplusplus
50
51
52
#endif // KMP_DEBUGGER_H
53
54
#endif // USE_DEBUGGER
ident
Definition:
kmp.h:218
Generated by
1.8.8