File: hook_prov.h

package info (click to toggle)
mpich 4.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 423,384 kB
  • sloc: ansic: 1,088,434; cpp: 71,364; javascript: 40,763; f90: 22,829; sh: 17,463; perl: 14,773; xml: 14,418; python: 10,265; makefile: 9,246; fortran: 8,008; java: 4,355; asm: 324; ruby: 176; lisp: 19; php: 8; sed: 4
file content (26 lines) | stat: -rw-r--r-- 700 bytes parent folder | download | duplicates (7)
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
#ifndef HOOK_PROV_H
#define HOOK_PROV_H

#include <ofi.h>
#include "ofi_hook.h"

int hook_bind(struct fid *fid, struct fid *bfid, uint64_t flags);
int hook_control(struct fid *fid, int command, void *arg);
int hook_ops_open(struct fid *fid, const char *name,
			 uint64_t flags, void **ops, void *context);
int hook_close(struct fid *fid);

#if HAVE_PERF
#include "hook_perf.h"
#else
#define perf_msg_ops hook_msg_ops
#define perf_rma_ops hook_rma_ops
#define perf_tagged_ops hook_tagged_ops
#define perf_cntr_ops hook_cntr_ops
#define perf_cq_ops hook_cq_ops

#define hook_perf_create hook_fabric_create
#define hook_perf_destroy hook_fabric_destroy

#endif /* HAVE_PERF */
#endif /* HOOK_PROV_H */