#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdbool.h>
#include <signal.h>
#include <sys/time.h>
#include <ucontext.h>
#include <dlfcn.h>
#include <monitor.h>
#include "sample_source_obj.h"
#include "common.h"
#include <hpcrun/hpcrun_options.h>
#include <hpcrun/hpcrun_stats.h>
#include <hpcrun/metrics.h>
#include <hpcrun/safe-sampling.h>
#include <hpcrun/sample_event.h>
#include <hpcrun/sample_sources_registered.h>
#include <hpcrun/thread_data.h>
#include <hpcrun/trace.h>
#include <lush/lush-backtrace.h>
#include <messages/messages.h>
#include <utilities/tokenize.h>
#include <utilities/arch/context-pc.h>
#include <unwind/common/unwind.h>
#include <lib/support-lean/timer.h>
#include <lib/prof-lean/spinlock.h>
#include <lib/prof-lean/atomic.h>
#include <lib/prof-lean/splay-macros.h>
#include "blame-shift/blame-shift.h"
#include "ss_obj.h"
Go to the source code of this file.
◆ Cuda_Dcall
#define Cuda_Dcall |
( |
|
fn | ) |
cuDriverFunctionPointer[fn ## Enum].fn ## Real |
◆ Cuda_RTcall
#define Cuda_RTcall |
( |
|
fn | ) |
cudaRuntimeFunctionPointer[fn ## Enum].fn ## Real |
-*-Mode: C++;-*- // technically C99
Definition at line 108 of file gpu_blame.c.
◆ ss_cls
◆ ss_name
#define ss_name cpu_gpu_idle |
◆ hpcrun_set_gpu_proxy_present()
void hpcrun_set_gpu_proxy_present |
( |
| ) |
|
◆ METHOD_FN() [1/11]
static void METHOD_FN |
( |
init |
| ) |
|
|
static |
◆ METHOD_FN() [2/11]
static void METHOD_FN |
( |
thread_init |
| ) |
|
|
static |
◆ METHOD_FN() [3/11]
static void METHOD_FN |
( |
thread_init_action |
| ) |
|
|
static |
◆ METHOD_FN() [4/11]
static void METHOD_FN |
( |
start |
| ) |
|
|
static |
◆ METHOD_FN() [5/11]
static void METHOD_FN |
( |
thread_fini_action |
| ) |
|
|
static |
◆ METHOD_FN() [6/11]
static void METHOD_FN |
( |
stop |
| ) |
|
|
static |
◆ METHOD_FN() [7/11]
static void METHOD_FN |
( |
shutdown |
| ) |
|
|
static |
◆ METHOD_FN() [8/11]
static bool METHOD_FN |
( |
supports_event |
, |
|
|
const char * |
ev_str |
|
) |
| |
|
static |
◆ METHOD_FN() [9/11]
static void METHOD_FN |
( |
process_event_list |
, |
|
|
int |
lush_metrics |
|
) |
| |
|
static |
◆ METHOD_FN() [10/11]
static void METHOD_FN |
( |
gen_event_set |
, |
|
|
int |
lush_metrics |
|
) |
| |
|
static |
◆ METHOD_FN() [11/11]
static void METHOD_FN |
( |
display_events |
| ) |
|
|
static |
◆ bs_entry
◆ cpu_idle_cause_metric_id
int cpu_idle_cause_metric_id |
◆ cpu_idle_metric_id
◆ d_to_d_data_xfer_metric_id
int d_to_d_data_xfer_metric_id |
◆ d_to_h_data_xfer_metric_id
int d_to_h_data_xfer_metric_id |
◆ g_active_threads
uint64_t g_active_threads |
◆ g_cpu_gpu_enabled
bool g_cpu_gpu_enabled = false |
◆ g_cpu_gpu_proxy_count
int g_cpu_gpu_proxy_count = 0 |
◆ gpu_idle_metric_id
◆ gpu_overload_potential_metric_id
int gpu_overload_potential_metric_id |
◆ gpu_time_metric_id
◆ h_to_d_data_xfer_metric_id
int h_to_d_data_xfer_metric_id |
◆ h_to_h_data_xfer_metric_id
int h_to_h_data_xfer_metric_id |
◆ stream_special_metric_id
int stream_special_metric_id |
◆ uva_data_xfer_metric_id
int uva_data_xfer_metric_id |