Add profiling calculation from timestamp packets

Change-Id: Ie7f8c703ca5ea5eb1f5207871ef94cbc7ece18b7
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
Jobczyk, Lukasz
2019-01-21 11:44:56 +01:00
committed by sys_ocldev
parent 3fe78d263b
commit c1cb1f9be6
7 changed files with 175 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2018 Intel Corporation
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -31,9 +31,11 @@ struct MockEvent : public BaseEventType {
FORWARD_FUNC(submitCommand, BaseEventType);
using BaseEventType::timeStampNode;
using Event::calcProfilingData;
using Event::magic;
using Event::queueTimeStamp;
using Event::submitTimeStamp;
using Event::timestampPacketContainer;
};
#undef FORWARD_CONSTRUCTOR