xref: /llvm-project/offload/DeviceRTL/include/Profiling.h (revision fde2d23ee2a204050a210f2f7b290643a272f737)
1 //===-------- Profiling.h - OpenMP interface ---------------------- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 //
10 //===----------------------------------------------------------------------===//
11 
12 #ifndef OMPTARGET_DEVICERTL_PROFILING_H
13 #define OMPTARGET_DEVICERTL_PROFILING_H
14 
15 extern "C" {
16 void __llvm_profile_register_function(void *Ptr);
17 void __llvm_profile_register_names_function(void *Ptr, long int I);
18 void __llvm_profile_instrument_memop(long int I, void *Ptr, int I2);
19 }
20 
21 #endif
22