/usr/include/pomp_lib.h is in libpomp-dev 1.1+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | /*************************************************************************/
/* OPARI Version 1.1 */
/* Copyright (C) 2001 */
/* Forschungszentrum Juelich, Zentralinstitut fuer Angewandte Mathematik */
/*************************************************************************/
#ifndef POMP_LIB_H
#define POMP_LIB_H
#ifdef __cplusplus
extern "C" {
#endif
#include <omp.h>
struct ompregdescr {
char* name; /* name of construct */
char* sub_name; /* optional: region name */
int num_sections; /* sections only: number of sections */
char* file_name; /* source code location */
int begin_first_line; /* line number first line opening pragma */
int begin_last_line; /* line number last line opening pragma */
int end_first_line; /* line number first line closing pragma */
int end_last_line; /* line number last line closing pragma */
void* data; /* space for performance data */
struct ompregdescr* next; /* for linking */
};
extern int POMP_MAX_ID;
extern struct ompregdescr* pomp_rd_table[];
extern void pomp_finalize();
extern void pomp_init();
extern void pomp_off();
extern void pomp_on();
extern void pomp_atomic_enter(struct ompregdescr* r);
extern void pomp_atomic_exit(struct ompregdescr* r);
extern void pomp_barrier_enter(struct ompregdescr* r);
extern void pomp_barrier_exit(struct ompregdescr* r);
extern void pomp_flush_enter(struct ompregdescr* r);
extern void pomp_flush_exit(struct ompregdescr* r);
extern void pomp_critical_begin(struct ompregdescr* r);
extern void pomp_critical_end(struct ompregdescr* r);
extern void pomp_critical_enter(struct ompregdescr* r);
extern void pomp_critical_exit(struct ompregdescr* r);
extern void pomp_for_enter(struct ompregdescr* r);
extern void pomp_for_exit(struct ompregdescr* r);
extern void pomp_master_begin(struct ompregdescr* r);
extern void pomp_master_end(struct ompregdescr* r);
extern void pomp_parallel_begin(struct ompregdescr* r);
extern void pomp_parallel_end(struct ompregdescr* r);
extern void pomp_parallel_fork(struct ompregdescr* r);
extern void pomp_parallel_join(struct ompregdescr* r);
extern void pomp_section_begin(struct ompregdescr* r);
extern void pomp_section_end(struct ompregdescr* r);
extern void pomp_sections_enter(struct ompregdescr* r);
extern void pomp_sections_exit(struct ompregdescr* r);
extern void pomp_single_begin(struct ompregdescr* r);
extern void pomp_single_end(struct ompregdescr* r);
extern void pomp_single_enter(struct ompregdescr* r);
extern void pomp_single_exit(struct ompregdescr* r);
extern void pomp_workshare_enter(struct ompregdescr* r);
extern void pomp_workshare_exit(struct ompregdescr* r);
extern void pomp_begin(struct ompregdescr* r);
extern void pomp_end(struct ompregdescr* r);
extern void pomp_init_lock(omp_lock_t *s);
extern void pomp_destroy_lock(omp_lock_t *s);
extern void pomp_set_lock(omp_lock_t *s);
extern void pomp_unset_lock(omp_lock_t *s);
extern int pomp_test_lock(omp_lock_t *s);
extern void pomp_init_nest_lock(omp_nest_lock_t *s);
extern void pomp_destroy_nest_lock(omp_nest_lock_t *s);
extern void pomp_set_nest_lock(omp_nest_lock_t *s);
extern void pomp_unset_nest_lock(omp_nest_lock_t *s);
extern int pomp_test_nest_lock(omp_nest_lock_t *s);
extern int pomp_tracing;
#ifdef __cplusplus
}
#endif
#endif
|