llvm/openmp/runtime/src/kmp_itt.cpp

#include "kmp_config.h"

#if USE_ITT_BUILD
/*
 * kmp_itt.cpp -- ITT Notify interface.
 */

//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "kmp_itt.h"

#if KMP_DEBUG
#include "kmp_itt.inl"
#endif

#if USE_ITT_NOTIFY

#include "ittnotify_config.h"
__itt_global __kmp_ittapi_clean_global;
extern __itt_global __kmp_itt__ittapi_global;

kmp_itthash_t __kmp_itt_barrier_domains =;
kmp_itthash_t __kmp_itt_region_domains =;
__itt_domain *metadata_domain =;
__itt_string_handle *string_handle_imbl =;
__itt_string_handle *string_handle_loop =;
__itt_string_handle *string_handle_sngl =;

#include "kmp_i18n.h"
#include "kmp_str.h"
#include "kmp_version.h"

KMP_BUILD_ASSERT();

/* Previously used warnings:

   KMP_WARNING( IttAllNotifDisabled );
   KMP_WARNING( IttObjNotifDisabled );
   KMP_WARNING( IttMarkNotifDisabled );
   KMP_WARNING( IttUnloadLibFailed, libittnotify );
*/

kmp_int32 __kmp_itt_prepare_delay =;
kmp_bootstrap_lock_t __kmp_itt_debug_lock =;

#endif // USE_ITT_NOTIFY

void __kmp_itt_reset() {}

void __kmp_itt_initialize() {} // __kmp_itt_initialize

void __kmp_itt_destroy() {} // __kmp_itt_destroy

extern "C" void __itt_error_handler(__itt_error_code err, va_list args) {} // __itt_error_handler

#endif /* USE_ITT_BUILD */