Utility functions used by the Dp application.\r
\r
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.\r
- (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
+ (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
UINT64 Duration;\r
BOOLEAN Error;\r
\r
+ if (Measurement->EndTimeStamp == 0) {\r
+ return 0;\r
+ }\r
+\r
// PERF_START macros are called with a value of 1 to indicate\r
// the beginning of time. So, adjust the start ticker value\r
// to the real beginning of time.\r