Debian Codegraph @

src/atlas_f/runtime/atlas_trace.h

raw
1 /*
2 * (C) Copyright 2013 ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 * In applying this licence, ECMWF does not waive the privileges and immunities
7 * granted to it by virtue of its status as an intergovernmental organisation
8 * nor does it submit to any jurisdiction.
9 */
10
11 #pragma once
12
13 namespace atlas {
14 class Trace;
15 }
16
17 extern "C" {
18
19 atlas::Trace* new_atlas_Trace(const char* file, int line, const char* title);
20 atlas::Trace* new_atlas_Trace_labels_1(const char* file, int line, const char* title, const char* label1);
21 atlas::Trace* new_atlas_Trace_labels_2(const char* file, int line, const char* title, const char* label1,
22 const char* label2);
23 atlas::Trace* new_atlas_Trace_labels_3(const char* file, int line, const char* title, const char* label1,
24 const char* label2, const char* label3);
25 atlas::Trace* new_atlas_Trace_labels_4(const char* file, int line, const char* title, const char* label1,
26 const char* label2, const char* label3, const char* label4);
27 atlas::Trace* new_atlas_Trace_labels_5(const char* file, int line, const char* title, const char* label1,
28 const char* label2, const char* label3, const char* label4, const char* label5);
29 void delete_atlas_Trace(atlas::Trace* This);
30 void atlas_Trace__start(atlas::Trace* This);
31 void atlas_Trace__stop(atlas::Trace* This);
32 void atlas_Trace__pause(atlas::Trace* This);
33 void atlas_Trace__resume(atlas::Trace* This);
34 int atlas_Trace__running(atlas::Trace* This);
35 double atlas_Trace__elapsed(atlas::Trace* This);
36
37 } // extern C