]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/PerformanceLib.h
These updates are for IPF low level assembly library checking in.
[mirror_edk2.git] / MdePkg / Include / Library / PerformanceLib.h
index ca32d98b1d5fb819e437b70ce8b0319bb1d241f5..06de00d8d88f9fc3cba2a4eb13cbb586106695cb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Library that provides services to measure module execution performance\r
 \r
-  Copyright (c) 2004, Intel Corporation                                                         \r
+  Copyright (c) 2006, Intel Corporation.\r
   All rights reserved. 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
@@ -195,7 +195,7 @@ PerformanceMeasurementEnabled (
   Otherwise, the source lines between PERF_CODE_BEGIN() and PERF_CODE_END() are not included in a module.\r
 \r
 **/\r
-#define PERF_CODE_END()    __PerformanceCodeLocal = 0; } } while (FALSE)\r
+#define PERF_CODE_END()    __PerformanceCodeLocal = 0; __PerformanceCodeLocal++; } } while (FALSE)\r
 \r
 /**\r
   Macro that declares a section of performance measurement source code.\r