HPCToolkit
data_tree.c File Reference
Include dependency graph for data_tree.c:

Go to the source code of this file.

Macros

#define DATATREE_DEBUG   0
 

Functions

static struct datatree_info_ssplay (struct datatree_info_s *root, void *key)
 
static struct datatree_info_s ** interval_splay (struct datatree_info_s **root, void *key, void **start, void **end)
 
void datatree_splay_insert (struct datatree_info_s *node)
 
struct datatree_info_sdatatree_splay_delete (void *memblock)
 
struct datatree_info_sdatatree_splay_lookup (void *key, void **start, void **end)
 

Variables

static spinlock_t datatree_lock = SPINLOCK_UNLOCKED
 
static struct datatree_info_sdatacentric_tree_root = NULL
 

Macro Definition Documentation

◆ DATATREE_DEBUG

#define DATATREE_DEBUG   0

Definition at line 66 of file data_tree.c.

Function Documentation

◆ datatree_splay_delete()

struct datatree_info_s* datatree_splay_delete ( void *  memblock)

Definition at line 165 of file data_tree.c.

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

◆ datatree_splay_insert()

void datatree_splay_insert ( struct datatree_info_s node)

Definition at line 129 of file data_tree.c.

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

◆ datatree_splay_lookup()

struct datatree_info_s* datatree_splay_lookup ( void *  key,
void **  start,
void **  end 
)

Definition at line 203 of file data_tree.c.

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

◆ interval_splay()

static struct datatree_info_s** interval_splay ( struct datatree_info_s **  root,
void *  key,
void **  start,
void **  end 
)
static

Definition at line 92 of file data_tree.c.

Here is the caller graph for this function:

◆ splay()

static struct datatree_info_s* splay ( struct datatree_info_s root,
void *  key 
)
static

Definition at line 85 of file data_tree.c.

Here is the caller graph for this function:

Variable Documentation

◆ datacentric_tree_root

struct datatree_info_s* datacentric_tree_root = NULL
static

Definition at line 75 of file data_tree.c.

◆ datatree_lock

spinlock_t datatree_lock = SPINLOCK_UNLOCKED
static

Definition at line 73 of file data_tree.c.