SWDEV-254329 - Init Profiling when ON

Change-Id: I72f9da94f8fbb95e66cf145831b252af05a19dc4


[ROCm/clr commit: fa89ee5ee0]
This commit is contained in:
Sarbojit Sarkar
2021-03-03 11:44:03 -05:00
zatwierdzone przez Sarbojit Sarkar
rodzic 437a38aa6a
commit 790fd35a77
@@ -99,8 +99,10 @@ class Event : public RuntimeObject {
struct ProfilingInfo {
ProfilingInfo(bool enabled = false) : enabled_(enabled), waves_(0), marker_ts_(false) {
clear();
callback_ = nullptr;
if (enabled) {
clear();
callback_ = nullptr;
}
}
uint64_t queued_;