Home ⌂
Doc Index ◂
Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
tbb_annotate.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2005-2020 Intel Corporation
3
4
Licensed under the Apache License, Version 2.0 (the "License");
5
you may not use this file except in compliance with the License.
6
You may obtain a copy of the License at
7
8
http://www.apache.org/licenses/LICENSE-2.0
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
*/
16
17
#ifndef __TBB_annotate_H
18
#define __TBB_annotate_H
19
20
// Macros used by the Intel(R) Parallel Advisor.
21
#ifdef __TBB_NORMAL_EXECUTION
22
#define ANNOTATE_SITE_BEGIN( site )
23
#define ANNOTATE_SITE_END( site )
24
#define ANNOTATE_TASK_BEGIN( task )
25
#define ANNOTATE_TASK_END( task )
26
#define ANNOTATE_LOCK_ACQUIRE( lock )
27
#define ANNOTATE_LOCK_RELEASE( lock )
28
#else
29
#include <advisor-annotate.h>
30
#endif
31
32
#endif
/* __TBB_annotate_H */
Copyright © 2005-2020 Intel Corporation. All Rights Reserved.
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.