Improve queueLock and lastCmdLock
Reduce the size of the queueLock and lastCmdLock critical sections to improve lock contention performance. The smaller the critical sections are the better. lasCmdLock is still needed to guarantee that getLastEnqueueCommand_ can retain the command before it is swapped out and released. Change-Id: Id35d4a77c035b2da0de4c15568b153d49e958bb7
This commit is contained in:
committed by
Saleel Kudchadker
parent
c95c613edc
commit
080dcfe857
@@ -234,9 +234,6 @@ class HostQueue : public CommandQueue {
|
||||
|
||||
//! Get last enqueued command
|
||||
Command* getLastQueuedCommand(bool retain);
|
||||
|
||||
//! Set last enqueued command
|
||||
void setLastQueuedCommand(Command* lastCommand) {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user