LLVM OpenMP 22.0.0git
OmptTesterGlobals.h
Go to the documentation of this file.
1//===- OmptTesterGlobals.h - Global function declarations -------*- 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/// \file
10/// Contains global function declarations, esp. for OMPT symbols.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef OPENMP_TOOLS_OMPTEST_INCLUDE_OMPTTESTERGLOBALS_H
15#define OPENMP_TOOLS_OMPTEST_INCLUDE_OMPTTESTERGLOBALS_H
16
17#include <omp-tools.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
23 const char *runtime_version);
24int start_trace(ompt_device_t *Device);
25int flush_trace(ompt_device_t *Device);
26// Function which calls flush_trace(ompt_device_t *) on all traced devices.
28int stop_trace(ompt_device_t *Device);
29// Function which calls stop_trace(ompt_device_t *) on all traced devices.
32#ifdef __cplusplus
33}
34#endif
35
36#endif
int stop_trace_devices()
int start_trace(ompt_device_t *Device)
int flush_trace(ompt_device_t *Device)
void libomptest_global_eventreporter_set_active(bool State)
int flush_traced_devices()
int stop_trace(ompt_device_t *Device)
struct ompt_start_tool_result_t ompt_start_tool_result_t
#define ompt_start_tool