PC sampling bringup
Change-Id: I0d041c4c8c3778f2c328cde38432bc72223706a3 pc sampling integration fix Change-Id: Ia66ff876d2d99ec4d561daf8320b65d75f5cd2fe
Ta zmiana jest zawarta w:
%! (template.HTML=
Evgeny)złożyło 2020-03-28 13:07:45 -05:00
1 rodzic
4c921407ac
złożenie
9df9fddcfb
9 plików zmienionych
+251
-30
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -89,7 +89,9 @@ hsa_status_t rocprofiler_error_string(
|
||||
// Profiling feature kind
|
||||
typedef enum {
|
||||
ROCPROFILER_FEATURE_KIND_METRIC = 0,
|
||||
ROCPROFILER_FEATURE_KIND_TRACE = 1
|
||||
ROCPROFILER_FEATURE_KIND_TRACE = 1,
|
||||
ROCPROFILER_FEATURE_KIND_SPM_MOD = 2,
|
||||
ROCPROFILER_FEATURE_KIND_PCSMP_MOD = 4
|
||||
} rocprofiler_feature_kind_t;
|
||||
|
||||
// Profiling feture parameter
|
||||
@@ -201,6 +203,10 @@ hsa_status_t rocprofiler_close(rocprofiler_t* context); // [in] profiling conte
|
||||
hsa_status_t rocprofiler_reset(rocprofiler_t* context, // [in] profiling context
|
||||
uint32_t group_index); // group index
|
||||
|
||||
// Return context agent
|
||||
hsa_status_t rocprofiler_get_agent(rocprofiler_t* context, // [in] profiling context
|
||||
hsa_agent_t* agent); // [out] GPU handle
|
||||
|
||||
// Supported time value ID
|
||||
typedef enum {
|
||||
ROCPROFILER_TIME_ID_CLOCK_REALTIME = 0, // Linux realtime clock time
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika