SWDEV-254329 - Init Profiling when ON
Change-Id: I72f9da94f8fbb95e66cf145831b252af05a19dc4
This commit is contained in:
committed by
Sarbojit Sarkar
parent
8bb7399323
commit
fa89ee5ee0
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user