SWDEV-254329 - Init Profiling when ON

Change-Id: I72f9da94f8fbb95e66cf145831b252af05a19dc4
Этот коммит содержится в:
Sarbojit Sarkar
2021-03-03 11:44:03 -05:00
коммит произвёл Sarbojit Sarkar
родитель 8bb7399323
Коммит fa89ee5ee0
+4 -2
Просмотреть файл
@@ -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_;