CUPTI callback_metric sample output 'event_name'

Hi all,

I tested the ‘callback_metric’ example from CUPTI v5.5 samples directory. The metric I gave is ‘stall_exec_dependency’, and the output is strange: function cuptiEventGetAttribute() set the local variable ‘eventName’ to ‘event_name’, not a regular event like inst_executed or active_cycles. The following is the outputs:

Usage: ./callback_metric [device_num] [metric_name]
CUDA Device Number: 0
CUDA Device Name: Tesla K20Xm
Launching kernel: blocks 196, thread/block 256
Duration = 7328ns
Pass 0
Launching kernel: blocks 196, thread/block 256
event_name = 353186 (25030, 25108, 27006, 25136, 25550, 23458, 24556, 23468, 25508, 25596, 25370, 27026, 25128, 25246)
event_name (normalized) (353186 * 14) / 14 = 353186
event_name = 0 (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
event_name (normalized) (0 * 14) / 14 = 0
event_name = 1589904 (105944, 111064, 121240, 112496, 116440, 109560, 113792, 110000, 114936, 113520, 112896, 114424, 118440, 115152)
event_name (normalized) (1589904 * 14) / 14 = 1589904
event_name = 3761312 (260976, 267984, 274544, 263904, 269728, 275232, 262656, 265920, 274064, 266976, 273728, 264640, 268208, 272752)
event_name (normalized) (3761312 * 14) / 14 = 3761312

Metric stall_exec_dependency = 23.898482%

So my question is what’s the ‘event_name’ mean?