Skip to content

Commit

Permalink
ALT-TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton committed Sep 20, 2024
1 parent 863ea9a commit b8dc969
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions MdePkg/Include/Library/DebugLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,13 @@ UnitTestDebugAssert (
are not included in a module.
**/
#define DEBUG_CODE_BEGIN() \
do { \
BOOLEAN __DebugCodeLocal; \
__DebugCodeLocal = FALSE; \
do { \
if (DebugCodeEnabled ()) {
#define DEBUG_CODE_BEGIN() \
do { \
BOOLEAN __DebugCodeLocal; \
__DebugCodeLocal = FALSE; \
do { \
if (DebugCodeEnabled ()) { \
(VOID) __DebugCodeLocal

/**
The macro that marks the end of debug source code.
Expand Down
13 changes: 7 additions & 6 deletions MdePkg/Include/Library/PerformanceLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -734,12 +734,13 @@ LogPerformanceMeasurement (
Otherwise, the source lines between PERF_CODE_BEGIN() and PERF_CODE_END() are not included in a module.
**/
#define PERF_CODE_BEGIN() \
do { \
BOOLEAN __PerformanceCodeLocal; \
__PerformanceCodeLocal = FALSE; \
do { \
if (PerformanceMeasurementEnabled ()) {
#define PERF_CODE_BEGIN() \
do { \
BOOLEAN __PerformanceCodeLocal; \
__PerformanceCodeLocal = FALSE; \
do { \
if (PerformanceMeasurementEnabled ()) { \
(VOID) __PerformanceCodeLocal

/**
Macro that marks the end of performance measurement source code.
Expand Down

0 comments on commit b8dc969

Please sign in to comment.