Add profiling support to DMA copy function
Change-Id: Iadeefa2692f35d9305ac1b242284a6220d5830a7
This commit is contained in:
committed by
Gerrit Code Review
parent
50339c12f1
commit
a8b00680b6
@@ -82,6 +82,8 @@ class Shared : public BaseShared {
|
||||
|
||||
assert(shared_object_ != NULL && "Failed on allocating shared_object_");
|
||||
|
||||
memset(shared_object_, 0, sizeof(T));
|
||||
|
||||
if (shared_object_ != NULL) new (shared_object_) T;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user