SWDEV-301667 - Cleanup unused paths
- Refactor code and cleanup logic for callback saving for event records Change-Id: I5c56aa8e9c968a5bca70fb07ad1796da318e9e89
This commit is contained in:
@@ -264,9 +264,6 @@ class HostQueue : public CommandQueue {
|
||||
// an invalid access
|
||||
command->retain();
|
||||
|
||||
if (command->profilingInfo().marker_ts_) {
|
||||
markerTsCount_++;
|
||||
}
|
||||
// Release the last command in the batch
|
||||
if (lastEnqueueCommand_ != nullptr) {
|
||||
lastEnqueueCommand_->release();
|
||||
@@ -287,23 +284,14 @@ class HostQueue : public CommandQueue {
|
||||
//! Get queue status
|
||||
bool GetQueueStatus() { return isActive_; }
|
||||
|
||||
//! Get markerTsCount
|
||||
uint32_t GetMarkerTsCount() const { return markerTsCount_; }
|
||||
|
||||
//! Reset counter
|
||||
void ResetMarkerTsCount() { markerTsCount_ = 0; }
|
||||
|
||||
private:
|
||||
Command* head_; //!< Head of the batch list
|
||||
Command* tail_; //!< Tail of the batch list
|
||||
|
||||
//! True if this command queue is active
|
||||
bool isActive_;
|
||||
|
||||
uint32_t markerTsCount_; //!< Count of TS markers
|
||||
};
|
||||
|
||||
|
||||
class DeviceQueue : public CommandQueue {
|
||||
public:
|
||||
DeviceQueue(Context& context, //!< Context object
|
||||
|
||||
Reference in New Issue
Block a user