SURFEX v8.1
General documentation of Surfex
Typedefs | Functions | Variables
drhook.h File Reference

Go to the source code of this file.

Typedefs

typedef long long int o_lock_t
 

Functions

void coml_set_debug_ (const int *konoff, int *kret)
 
void coml_init_lock_ ()
 
void coml_init_lockid_ (o_lock_t *mylock)
 
void coml_init_lockid_with_name_ (o_lock_t *mylock, const char *name, int name_len)
 
void coml_set_lock_ ()
 
void coml_set_lockid_ (o_lock_t *mylock)
 
void coml_unset_lock_ ()
 
void coml_unset_lockid_ (o_lock_t *mylock)
 
void coml_test_lock_ (int *is_set)
 
void coml_test_lockid_ (int *is_set, o_lock_t *mylock)
 
void coml_in_parallel_ (int *is_parallel_region)
 
void c_drhook_getenv_ (const char *s, char *value, int slen, const int valuelen)
 
void c_drhook_memcounter_ (const int *thread_id, const long long int *size, long long int *keyptr_addr)
 
void c_drhook_raise_ (const int *sig)
 
void c_drhook_print_ (const int *ftnunitno, const int *thread_id, const int *print_option, int *level)
 
void c_drhook_init_signals_ (const int *enforce)
 
void c_drhook_set_lhook_ (const int *lhook)
 
void c_drhook_init_ (const char *progname, const int *num_threads, int progname_len)
 
void c_drhook_start_ (const char *name, const int *thread_id, double *key, const char *filename, const int *sizeinfo, int name_len, int filename_len)
 
void c_drhook_end_ (const char *name, const int *thread_id, const double *key, const char *filename, const int *sizeinfo, int name_len, int filename_len)
 
void c_drhook_watch_ (const int *onoff, const char *array_name, const void *array_ptr, const int *nbytes, const int *abort_if_changed, const int *printkey, const int *nvals, const int *print_traceback_when_set, int array_name_len)
 
void c_drhook_check_watch_ (const char *where, const int *allow_abort, int where_len)
 
void Dr_Hook (const char *name, int option, double *handle, const char *filename, int sizeinfo, int name_len, int filename_len)
 
void dr_hook_prt_ (const int *ftnunitno, const char *s, int s_len)
 
void dr_hook_procinfo_ (int *myproc, int *nproc)
 

Variables

int drhook_lhook = 1
 

Typedef Documentation

◆ o_lock_t

typedef long long int o_lock_t

Definition at line 50 of file drhook.h.

Function Documentation

◆ c_drhook_check_watch_()

void c_drhook_check_watch_ ( const char *  where,
const int *  allow_abort,
int  where_len 
)

Definition at line 3060 of file drhook.c.

Here is the call graph for this function:

◆ c_drhook_end_()

void c_drhook_end_ ( const char *  name,
const int *  thread_id,
const double *  key,
const char *  filename,
const int *  sizeinfo,
int  name_len,
int  filename_len 
)

Definition at line 3320 of file drhook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ c_drhook_getenv_()

void c_drhook_getenv_ ( const char *  s,
char *  value,
int  slen,
const int  valuelen 
)

Definition at line 3088 of file drhook.c.

Here is the call graph for this function:

◆ c_drhook_init_()

void c_drhook_init_ ( const char *  progname,
const int *  num_threads,
int  progname_len 
)

Definition at line 3116 of file drhook.c.

Here is the call graph for this function:

◆ c_drhook_init_signals_()

void c_drhook_init_signals_ ( const int *  enforce)

Definition at line 4474 of file drhook.c.

Here is the call graph for this function:

◆ c_drhook_memcounter_()

void c_drhook_memcounter_ ( const int *  thread_id,
const long long int *  size,
long long int *  keyptr_addr 
)

Definition at line 3392 of file drhook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ c_drhook_print_()

void c_drhook_print_ ( const int *  ftnunitno,
const int *  thread_id,
const int *  print_option,
int *  level 
)

Definition at line 3639 of file drhook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ c_drhook_raise_()

void c_drhook_raise_ ( const int *  sig)

Definition at line 4487 of file drhook.c.

◆ c_drhook_set_lhook_()

void c_drhook_set_lhook_ ( const int *  lhook)

Definition at line 3080 of file drhook.c.

Here is the caller graph for this function:

◆ c_drhook_start_()

void c_drhook_start_ ( const char *  name,
const int *  thread_id,
double *  key,
const char *  filename,
const int *  sizeinfo,
int  name_len,
int  filename_len 
)

Definition at line 3225 of file drhook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ c_drhook_watch_()

void c_drhook_watch_ ( const int *  onoff,
const char *  array_name,
const void *  array_ptr,
const int *  nbytes,
const int *  abort_if_changed,
const int *  printkey,
const int *  nvals,
const int *  print_traceback_when_set,
int  array_name_len 
)

Definition at line 3152 of file drhook.c.

Here is the call graph for this function:

◆ coml_in_parallel_()

void coml_in_parallel_ ( int *  is_parallel_region)

◆ coml_init_lock_()

void coml_init_lock_ ( )

◆ coml_init_lockid_()

void coml_init_lockid_ ( o_lock_t mylock)

◆ coml_init_lockid_with_name_()

void coml_init_lockid_with_name_ ( o_lock_t mylock,
const char *  name,
int  name_len 
)

◆ coml_set_debug_()

void coml_set_debug_ ( const int *  konoff,
int *  kret 
)
Here is the caller graph for this function:

◆ coml_set_lock_()

void coml_set_lock_ ( )

◆ coml_set_lockid_()

void coml_set_lockid_ ( o_lock_t mylock)
Here is the caller graph for this function:

◆ coml_test_lock_()

void coml_test_lock_ ( int *  is_set)

◆ coml_test_lockid_()

void coml_test_lockid_ ( int *  is_set,
o_lock_t mylock 
)
Here is the caller graph for this function:

◆ coml_unset_lock_()

void coml_unset_lock_ ( )

◆ coml_unset_lockid_()

void coml_unset_lockid_ ( o_lock_t mylock)
Here is the caller graph for this function:

◆ Dr_Hook()

void Dr_Hook ( const char *  name,
int  option,
double *  handle,
const char *  filename,
int  sizeinfo,
int  name_len,
int  filename_len 
)

Definition at line 4496 of file drhook.c.

Here is the call graph for this function:

◆ dr_hook_procinfo_()

void dr_hook_procinfo_ ( int *  myproc,
int *  nproc 
)
Here is the caller graph for this function:

◆ dr_hook_prt_()

void dr_hook_prt_ ( const int *  ftnunitno,
const char *  s,
int  s_len 
)
Here is the caller graph for this function:

Variable Documentation

◆ drhook_lhook

int drhook_lhook = 1

Definition at line 38 of file drhook.h.