HPCToolkit
pthread-blame.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <pthread.h>
Include dependency graph for pthread-blame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PTHREAD_EVENT_NAME   "PTHREAD_WAIT"
 
#define PTHREAD_BLAME_METRIC   "PTHREAD_BLAME"
 
#define PTHREAD_BLOCKWAIT_METRIC   "PTHREAD_BLOCK_WAIT"
 
#define PTHREAD_SPINWAIT_METRIC   "PTHREAD_SPIN_WAIT"
 

Functions

bool pthread_blame_lockwait_enabled (void)
 
void pthread_directed_blame_shift_blocked_start (void *obj)
 
void pthread_directed_blame_shift_spin_start (void *obj)
 
void pthread_directed_blame_shift_end (void)
 
void pthread_directed_blame_accept (void *obj)
 

Macro Definition Documentation

◆ PTHREAD_BLAME_METRIC

#define PTHREAD_BLAME_METRIC   "PTHREAD_BLAME"

Definition at line 56 of file pthread-blame.h.

◆ PTHREAD_BLOCKWAIT_METRIC

#define PTHREAD_BLOCKWAIT_METRIC   "PTHREAD_BLOCK_WAIT"

Definition at line 57 of file pthread-blame.h.

◆ PTHREAD_EVENT_NAME

#define PTHREAD_EVENT_NAME   "PTHREAD_WAIT"

Definition at line 54 of file pthread-blame.h.

◆ PTHREAD_SPINWAIT_METRIC

#define PTHREAD_SPINWAIT_METRIC   "PTHREAD_SPIN_WAIT"

Definition at line 58 of file pthread-blame.h.

Function Documentation

◆ pthread_blame_lockwait_enabled()

bool pthread_blame_lockwait_enabled ( void  )

Definition at line 243 of file pthread-blame.c.

Here is the caller graph for this function:

◆ pthread_directed_blame_accept()

void pthread_directed_blame_accept ( void *  obj)

Definition at line 278 of file pthread-blame.c.

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

◆ pthread_directed_blame_shift_blocked_start()

void pthread_directed_blame_shift_blocked_start ( void *  obj)

Definition at line 252 of file pthread-blame.c.

Here is the caller graph for this function:

◆ pthread_directed_blame_shift_end()

void pthread_directed_blame_shift_end ( void  )

Definition at line 270 of file pthread-blame.c.

Here is the caller graph for this function:

◆ pthread_directed_blame_shift_spin_start()

void pthread_directed_blame_shift_spin_start ( void *  obj)

Definition at line 261 of file pthread-blame.c.

Here is the caller graph for this function: