Merge pull request #31 from whchung/feature-roctracer_get_timestamp
[Feature] Introduce a new API roctracer_get_timestamp().
[ROCm/roctracer commit: e212670fe8]
이 커밋은 다음에 포함됨:
커밋
8ea470b143
2 파일이 변경됨
+10
검색과 일치하는 파일 없음
@@ -1119,6 +1119,12 @@ PUBLIC_API void roctracer_unload(bool destruct) {
|
||||
ONLOAD_TRACE_END();
|
||||
}
|
||||
|
||||
PUBLIC_API roctracer_status_t roctracer_get_timestamp(uint64_t* timestamp) {
|
||||
API_METHOD_PREFIX
|
||||
*timestamp = util::HsaRsrcFactory::Instance().TimestampNs();
|
||||
API_METHOD_SUFFIX
|
||||
}
|
||||
|
||||
PUBLIC_API bool OnLoad(HsaApiTable* table, uint64_t runtime_version, uint64_t failed_tool_count,
|
||||
const char* const* failed_tool_names) {
|
||||
ONLOAD_TRACE_BEG();
|
||||
|
||||
새 이슈에서 참조
사용자 차단