Add profiling support to DMA copy function

Change-Id: Iadeefa2692f35d9305ac1b242284a6220d5830a7
This commit is contained in:
Besar Wicaksono
2016-05-17 15:12:41 -05:00
committed by Gerrit Code Review
parent 50339c12f1
commit a8b00680b6
14 changed files with 462 additions and 50 deletions
+2
View File
@@ -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;
}