Skip to content

Commit

Permalink
Update patch for FunctionMultiple
Browse files Browse the repository at this point in the history
  • Loading branch information
boehmseb committed May 29, 2024
1 parent bae1605 commit e605dde
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions FunctionMultiple/hot_code.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
diff --git a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp
index e766b95..494b015 100644
index 3eaddca..b6941b3 100644
--- a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp
+++ b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp
@@ -16,12 +16,14 @@ bool function1(int s) {
@@ -16,6 +16,7 @@ bool function1(int s) {
return false;
}

+___REGION_START __RT_High "hot_code"
void function2(bool b, int t) {
if (b) {
fp_util::sleep_for_millisecs(t * 100);
@@ -23,6 +24,7 @@ void function2(bool b, int t) {
fp_util::sleep_for_millisecs(1000);
}
fp_util::sleep_for_millisecs(1000);
}
+___REGION_END __RT_High "hot_code"

Expand Down

0 comments on commit e605dde

Please sign in to comment.