diff --git a/DegreeHigh/hot_code.info b/DegreeHigh/hot_code.info new file mode 100644 index 0000000..7cd8df8 --- /dev/null +++ b/DegreeHigh/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks hot code." +include_revisions: + revision_range: + start: f6b2548c8039ee21d017b741a8e181a1e9b25cd6 + end: HEAD +path: hot_code.patch +project_name: DegreeHigh +shortname: hot_code +tags: +- perf_region diff --git a/DegreeHigh/hot_code.patch b/DegreeHigh/hot_code.patch new file mode 100644 index 0000000..ce9f90e --- /dev/null +++ b/DegreeHigh/hot_code.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp b/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp +index b008e0c..03bb33c 100644 +--- a/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp ++++ b/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp +@@ -52,6 +52,8 @@ int main(int argc, char *argv[]) { + } + } + ++ ___REGION_START __RT_High "hot_code" + fp_util::sleep_for_millisecs(1000 + t * 100); ++ ___REGION_END __RT_High "hot_code" + return 0; + } diff --git a/DegreeHigh/regression.info b/DegreeHigh/regression.info new file mode 100644 index 0000000..54f5dc1 --- /dev/null +++ b/DegreeHigh/regression.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: f6b2548c8039ee21d017b741a8e181a1e9b25cd6 + end: HEAD +path: regression.patch +project_name: DegreeHigh +shortname: regression +tags: +- regression +- perf_prec diff --git a/DegreeHigh/regression.patch b/DegreeHigh/regression.patch new file mode 100644 index 0000000..20b69bf --- /dev/null +++ b/DegreeHigh/regression.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp b/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp +index ba87834..8ae344c 100644 +--- a/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp ++++ b/projects/PerformanceInteractionDetection/DegreeHigh/main.cpp +@@ -28,7 +28,7 @@ int main(int argc, char *argv[]) { + F9 = fp_util::isFeatureEnabled(argc, argv, "--f9"); + F10 = fp_util::isFeatureEnabled(argc, argv, "--f10"); + +- int t = 10; ++ int t = 15; + + if (F1) { + if (F2) { diff --git a/DegreeLow/hot_code.info b/DegreeLow/hot_code.info new file mode 100644 index 0000000..ef72232 --- /dev/null +++ b/DegreeLow/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks hot code." +include_revisions: + revision_range: + start: f6b2548c8039ee21d017b741a8e181a1e9b25cd6 + end: HEAD +path: hot_code.patch +project_name: DegreeLow +shortname: hot_code +tags: +- perf_region diff --git a/DegreeLow/hot_code.patch b/DegreeLow/hot_code.patch new file mode 100644 index 0000000..3b42ab1 --- /dev/null +++ b/DegreeLow/hot_code.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/DegreeLow/main.cpp b/projects/PerformanceInteractionDetection/DegreeLow/main.cpp +index cd459aa..17ad58d 100644 +--- a/projects/PerformanceInteractionDetection/DegreeLow/main.cpp ++++ b/projects/PerformanceInteractionDetection/DegreeLow/main.cpp +@@ -34,6 +34,8 @@ int main(int argc, char *argv[]) { + t *= 2; + } + ++ ___REGION_START __RT_High "hot_code" + fp_util::sleep_for_millisecs(1000 + t * 100); ++ ___REGION_END __RT_High "hot_code" + return 0; + } diff --git a/DegreeLow/regression.info b/DegreeLow/regression.info new file mode 100644 index 0000000..bca2f08 --- /dev/null +++ b/DegreeLow/regression.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: f6b2548c8039ee21d017b741a8e181a1e9b25cd6 + end: HEAD +path: regression.patch +project_name: DegreeLow +shortname: regression +tags: +- regression +- perf_prec diff --git a/DegreeLow/regression.patch b/DegreeLow/regression.patch new file mode 100644 index 0000000..0f9ed29 --- /dev/null +++ b/DegreeLow/regression.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/DegreeLow/main.cpp b/projects/PerformanceInteractionDetection/DegreeLow/main.cpp +index abde64c..d7063bd 100644 +--- a/projects/PerformanceInteractionDetection/DegreeLow/main.cpp ++++ b/projects/PerformanceInteractionDetection/DegreeLow/main.cpp +@@ -28,7 +28,7 @@ int main(int argc, char *argv[]) { + F9 = fp_util::isFeatureEnabled(argc, argv, "--f9"); + F10 = fp_util::isFeatureEnabled(argc, argv, "--f10"); + +- int t = 10; ++ int t = 15; + + if (F1) { + t *= 2; diff --git a/FunctionAccumulating/hot_code.info b/FunctionAccumulating/hot_code.info new file mode 100644 index 0000000..f9e423d --- /dev/null +++ b/FunctionAccumulating/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the function hot_function() as hot code." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: hot_code.patch +project_name: FunctionAccumulating +shortname: hot_code +tags: +- perf_region diff --git a/FunctionAccumulating/hot_code.patch b/FunctionAccumulating/hot_code.patch new file mode 100644 index 0000000..846fcd8 --- /dev/null +++ b/FunctionAccumulating/hot_code.patch @@ -0,0 +1,28 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +index 7f90a9a..ade0457 100644 +--- a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +@@ -9,17 +9,23 @@ bool __attribute__((feature_variable("F2"))) F2; + bool __attribute__((feature_variable("F3"))) F3; + + ++___REGION_START __RT_High "hot_code" + void function1(int r) { + fp_util::sleep_for_millisecs(3000 + r * 100); + } ++___REGION_END __RT_High "hot_code" + ++___REGION_START __RT_High "hot_code" + void function2(int s) { + fp_util::sleep_for_millisecs(3000 + s * 100); + } ++___REGION_END __RT_High "hot_code" + ++___REGION_START __RT_High "hot_code" + void function3(int t) { + fp_util::sleep_for_millisecs(3000 + t * 100); + } ++___REGION_END __RT_High "hot_code" + + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); diff --git a/FunctionAccumulating/regression1.info b/FunctionAccumulating/regression1.info new file mode 100644 index 0000000..4b4c49e --- /dev/null +++ b/FunctionAccumulating/regression1.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression1.patch +project_name: FunctionAccumulating +shortname: regression1 +tags: +- regression +- perf_prec diff --git a/FunctionAccumulating/regression1.patch b/FunctionAccumulating/regression1.patch new file mode 100644 index 0000000..dc47a2f --- /dev/null +++ b/FunctionAccumulating/regression1.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +index 9a0e036..91fb7e5 100644 +--- a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +@@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { + F2 = fp_util::isFeatureEnabled(argc, argv, "--f2"); + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + +- int r = 10; ++ int r = 15; + int s = 10; + int t = 10; + diff --git a/FunctionAccumulating/regression2.info b/FunctionAccumulating/regression2.info new file mode 100644 index 0000000..eca09cf --- /dev/null +++ b/FunctionAccumulating/regression2.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression2.patch +project_name: FunctionAccumulating +shortname: regression2 +tags: +- regression +- perf_prec diff --git a/FunctionAccumulating/regression2.patch b/FunctionAccumulating/regression2.patch new file mode 100644 index 0000000..395408a --- /dev/null +++ b/FunctionAccumulating/regression2.patch @@ -0,0 +1,15 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +index 9a0e036..c2d8dd7 100644 +--- a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +@@ -26,8 +26,8 @@ int main(int argc, char *argv[]) { + F2 = fp_util::isFeatureEnabled(argc, argv, "--f2"); + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + +- int r = 10; +- int s = 10; ++ int r = 15; ++ int s = 15; + int t = 10; + + if (F1) { diff --git a/FunctionAccumulating/regression3.info b/FunctionAccumulating/regression3.info new file mode 100644 index 0000000..893db41 --- /dev/null +++ b/FunctionAccumulating/regression3.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression3.patch +project_name: FunctionAccumulating +shortname: regression3 +tags: +- regression +- perf_prec diff --git a/FunctionAccumulating/regression3.patch b/FunctionAccumulating/regression3.patch new file mode 100644 index 0000000..754eecb --- /dev/null +++ b/FunctionAccumulating/regression3.patch @@ -0,0 +1,17 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +index 9a0e036..b606850 100644 +--- a/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionAccumulating/main.cpp +@@ -26,9 +26,9 @@ int main(int argc, char *argv[]) { + F2 = fp_util::isFeatureEnabled(argc, argv, "--f2"); + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + +- int r = 10; +- int s = 10; +- int t = 10; ++ int r = 15; ++ int s = 15; ++ int t = 15; + + if (F1) { + function1(r); diff --git a/FunctionMultiple/hot_code.info b/FunctionMultiple/hot_code.info new file mode 100644 index 0000000..2f9e2fe --- /dev/null +++ b/FunctionMultiple/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the function hot_function() as hot code." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: hot_code.patch +project_name: FunctionMultiple +shortname: hot_code +tags: +- perf_region diff --git a/FunctionMultiple/hot_code.patch b/FunctionMultiple/hot_code.patch new file mode 100644 index 0000000..17874a4 --- /dev/null +++ b/FunctionMultiple/hot_code.patch @@ -0,0 +1,20 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +index 3eaddca..b6941b3 100644 +--- a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +@@ -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); + } + } ++___REGION_END __RT_High "hot_code" + + void function3() { + fp_util::sleep_for_millisecs(1000); diff --git a/FunctionMultiple/regression1.info b/FunctionMultiple/regression1.info new file mode 100644 index 0000000..80d7cd7 --- /dev/null +++ b/FunctionMultiple/regression1.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression1.patch +project_name: FunctionMultiple +shortname: regression1 +tags: +- regression +- perf_prec diff --git a/FunctionMultiple/regression1.patch b/FunctionMultiple/regression1.patch new file mode 100644 index 0000000..8dc754f --- /dev/null +++ b/FunctionMultiple/regression1.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +index 70137b9..eda7b1e 100644 +--- a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +@@ -32,7 +32,7 @@ int main(int argc, char *argv[]) { + F2 = fp_util::isFeatureEnabled(argc, argv, "--f2"); + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + +- int s = 10; ++ int s = 15; + int t = 10; + bool b = false; + diff --git a/FunctionMultiple/regression2.info b/FunctionMultiple/regression2.info new file mode 100644 index 0000000..f12906c --- /dev/null +++ b/FunctionMultiple/regression2.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression2.patch +project_name: FunctionMultiple +shortname: regression2 +tags: +- regression +- perf_prec diff --git a/FunctionMultiple/regression2.patch b/FunctionMultiple/regression2.patch new file mode 100644 index 0000000..f5c58da --- /dev/null +++ b/FunctionMultiple/regression2.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +index 70137b9..319a985 100644 +--- a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +@@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + + int s = 10; +- int t = 10; ++ int t = 15; + bool b = false; + + if (F1) { diff --git a/FunctionMultiple/regression3.info b/FunctionMultiple/regression3.info new file mode 100644 index 0000000..439fe75 --- /dev/null +++ b/FunctionMultiple/regression3.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression3.patch +project_name: FunctionMultiple +shortname: regression3 +tags: +- regression +- perf_prec diff --git a/FunctionMultiple/regression3.patch b/FunctionMultiple/regression3.patch new file mode 100644 index 0000000..378a2eb --- /dev/null +++ b/FunctionMultiple/regression3.patch @@ -0,0 +1,15 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +index 70137b9..a2d4881 100644 +--- a/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionMultiple/main.cpp +@@ -32,8 +32,8 @@ int main(int argc, char *argv[]) { + F2 = fp_util::isFeatureEnabled(argc, argv, "--f2"); + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + +- int s = 10; +- int t = 10; ++ int s = 15; ++ int t = 15; + bool b = false; + + if (F1) { diff --git a/FunctionSingle/hot_code.info b/FunctionSingle/hot_code.info new file mode 100644 index 0000000..94dcf69 --- /dev/null +++ b/FunctionSingle/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the function hot_function() as hot code." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: hot_code.patch +project_name: FunctionSingle +shortname: hot_code +tags: +- perf_region diff --git a/FunctionSingle/hot_code.patch b/FunctionSingle/hot_code.patch new file mode 100644 index 0000000..e6785f6 --- /dev/null +++ b/FunctionSingle/hot_code.patch @@ -0,0 +1,16 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp b/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp +index 4e491d0..13c89b8 100644 +--- a/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp +@@ -9,9 +9,11 @@ bool __attribute__((feature_variable("F2"))) F2; + bool __attribute__((feature_variable("F3"))) F3; + + ++___REGION_END __RT_High "hot_code" + void function1(int t) { + fp_util::sleep_for_millisecs(1000 + t * 100); + } ++___REGION_START __RT_High "hot_code" + + void function2() { + fp_util::sleep_for_millisecs(1000); diff --git a/FunctionSingle/regression.info b/FunctionSingle/regression.info new file mode 100644 index 0000000..282b89c --- /dev/null +++ b/FunctionSingle/regression.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: 2036239cdbc2210f19e2bcabe75f23d217c0a9d4 + end: HEAD +path: regression.patch +project_name: FunctionSingle +shortname: regression +tags: +- regression +- perf_prec diff --git a/FunctionSingle/regression.patch b/FunctionSingle/regression.patch new file mode 100644 index 0000000..abb6918 --- /dev/null +++ b/FunctionSingle/regression.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp b/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp +index 6414bfb..bd8fb0d 100644 +--- a/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp ++++ b/projects/PerformanceInteractionDetection/FunctionSingle/main.cpp +@@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { + F2 = fp_util::isFeatureEnabled(argc, argv, "--f2"); + F3 = fp_util::isFeatureEnabled(argc, argv, "--f3"); + +- int t = 10; ++ int t = 15; + + if (F1) { + function1(t); diff --git a/InterDataFlow/hot_code.info b/InterDataFlow/hot_code.info new file mode 100644 index 0000000..2b8c2a0 --- /dev/null +++ b/InterDataFlow/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the function hot_function() as hot code." +include_revisions: + revision_range: + start: e3c3ab43f27bec96f015b4bce591156bbe557a0a + end: HEAD +path: hot_code.patch +project_name: InterDataFlow +shortname: hot_code +tags: +- perf_region diff --git a/InterDataFlow/hot_code.patch b/InterDataFlow/hot_code.patch new file mode 100644 index 0000000..0e834ad --- /dev/null +++ b/InterDataFlow/hot_code.patch @@ -0,0 +1,17 @@ +diff --git a/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp b/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp +index a9f8958..7efd1e2 100644 +--- a/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp ++++ b/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp +@@ -8,10 +8,12 @@ + bool __attribute__((feature_variable("F1"))) F1; + + ++___REGION_START __RT_High "hot_code" + int hotFunction(int t) { + fp_util::sleep_for_millisecs(5000 + t * 100); + return 0; + } ++___REGION_END __RT_High "hot_code" + + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); diff --git a/InterDataFlow/regression.info b/InterDataFlow/regression.info new file mode 100644 index 0000000..37adf8c --- /dev/null +++ b/InterDataFlow/regression.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: e3c3ab43f27bec96f015b4bce591156bbe557a0a + end: HEAD +path: regression.patch +project_name: InterDataFlow +shortname: regression +tags: +- regression +- perf_prec diff --git a/InterDataFlow/regression.patch b/InterDataFlow/regression.patch new file mode 100644 index 0000000..0c559a9 --- /dev/null +++ b/InterDataFlow/regression.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp b/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp +index 415bdc0..55a3ca6 100644 +--- a/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp ++++ b/projects/PerformanceInteractionDetection/InterDataFlow/main.cpp +@@ -16,7 +16,7 @@ int hotFunction(int t) { + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); + +- int t = 10; ++ int t = 15; + + if (F1) { + t *= 2; diff --git a/InterImplicitFlow/hot_code.info b/InterImplicitFlow/hot_code.info new file mode 100644 index 0000000..7b3d7d2 --- /dev/null +++ b/InterImplicitFlow/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the function hot_function() as hot code." +include_revisions: + revision_range: + start: e3c3ab43f27bec96f015b4bce591156bbe557a0a + end: HEAD +path: hot_code.patch +project_name: InterImplicitFlow +shortname: hot_code +tags: +- perf_region diff --git a/InterImplicitFlow/hot_code.patch b/InterImplicitFlow/hot_code.patch new file mode 100644 index 0000000..7bc2438 --- /dev/null +++ b/InterImplicitFlow/hot_code.patch @@ -0,0 +1,17 @@ +diff --git a/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp b/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp +index f2bfadd..7f85faa 100644 +--- a/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp ++++ b/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp +@@ -8,10 +8,12 @@ + bool __attribute__((feature_variable("F1"))) F1; + + ++___REGION_START __RT_High "hot_code" + int hotFunction(int t) { + fp_util::sleep_for_millisecs(5000 + t * 100); + return 0; + } ++___REGION_END __RT_High "hot_code" + + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); diff --git a/InterImplicitFlow/regression.info b/InterImplicitFlow/regression.info new file mode 100644 index 0000000..3d83755 --- /dev/null +++ b/InterImplicitFlow/regression.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: e3c3ab43f27bec96f015b4bce591156bbe557a0a + end: HEAD +path: regression.patch +project_name: InterImplicitFlow +shortname: regression +tags: +- regression +- perf_prec diff --git a/InterImplicitFlow/regression.patch b/InterImplicitFlow/regression.patch new file mode 100644 index 0000000..453891f --- /dev/null +++ b/InterImplicitFlow/regression.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp b/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp +index c24462b..0b2b076 100644 +--- a/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp ++++ b/projects/PerformanceInteractionDetection/InterImplicitFlow/main.cpp +@@ -16,7 +16,7 @@ int hotFunction(int t) { + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); + +- int t = 10; ++ int t = 15; + bool flag = false; + + if (F1) { diff --git a/InterStructural/hot_code.info b/InterStructural/hot_code.info new file mode 100644 index 0000000..af7b7b6 --- /dev/null +++ b/InterStructural/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the function hot_function() as hot code." +include_revisions: + revision_range: + start: e3c3ab43f27bec96f015b4bce591156bbe557a0a + end: HEAD +path: hot_code.patch +project_name: InterStructural +shortname: hot_code +tags: +- perf_region diff --git a/InterStructural/hot_code.patch b/InterStructural/hot_code.patch new file mode 100644 index 0000000..1347a24 --- /dev/null +++ b/InterStructural/hot_code.patch @@ -0,0 +1,20 @@ +diff --git a/projects/PerformanceInteractionDetection/InterStructural/main.cpp b/projects/PerformanceInteractionDetection/InterStructural/main.cpp +index 962b38e..ef11c5a 100644 +--- a/projects/PerformanceInteractionDetection/InterStructural/main.cpp ++++ b/projects/PerformanceInteractionDetection/InterStructural/main.cpp +@@ -8,6 +8,7 @@ + bool __attribute__((feature_variable("F1"))) F1; + + ++___REGION_START __RT_High "hot_code" + int hotFunction(int t) { + if (F1) { + t *= 2; +@@ -16,6 +17,7 @@ int hotFunction(int t) { + fp_util::sleep_for_millisecs(5000 + t * 100); + return 0; + } ++___REGION_END __RT_High "hot_code" + + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); diff --git a/InterStructural/regression.info b/InterStructural/regression.info new file mode 100644 index 0000000..fcce3eb --- /dev/null +++ b/InterStructural/regression.info @@ -0,0 +1,11 @@ +description: "Insert regression." +include_revisions: + revision_range: + start: e3c3ab43f27bec96f015b4bce591156bbe557a0a + end: HEAD +path: regression.patch +project_name: InterStructural +shortname: regression +tags: +- regression +- perf_prec diff --git a/InterStructural/regression.patch b/InterStructural/regression.patch new file mode 100644 index 0000000..def1f00 --- /dev/null +++ b/InterStructural/regression.patch @@ -0,0 +1,13 @@ +diff --git a/projects/PerformanceInteractionDetection/InterStructural/main.cpp b/projects/PerformanceInteractionDetection/InterStructural/main.cpp +index 9370f07..7d7ef3b 100644 +--- a/projects/PerformanceInteractionDetection/InterStructural/main.cpp ++++ b/projects/PerformanceInteractionDetection/InterStructural/main.cpp +@@ -20,7 +20,7 @@ int hotFunction(int t) { + int main(int argc, char *argv[]) { + F1 = fp_util::isFeatureEnabled(argc, argv, "--f1"); + +- int t = 10; ++ int t = 15; + + hotFunction(t); + diff --git a/SynthFeatureLargeConfigSpace/hot_code.info b/SynthFeatureLargeConfigSpace/hot_code.info new file mode 100644 index 0000000..36971cc --- /dev/null +++ b/SynthFeatureLargeConfigSpace/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the sleep at the end as hot code." +include_revisions: + revision_range: + start: 6863c78c242a8e67b09d2947bd83ef09ceff4be4 + end: master +path: hot_code.patch +project_name: FeaturePerfCSCollection +shortname: hot_code +tags: +- perf_region diff --git a/SynthFeatureLargeConfigSpace/hot_code.patch b/SynthFeatureLargeConfigSpace/hot_code.patch new file mode 100644 index 0000000..98438f0 --- /dev/null +++ b/SynthFeatureLargeConfigSpace/hot_code.patch @@ -0,0 +1,13 @@ +diff --git a/projects/SynthFeatureLargeConfigSpace/main.cpp b/projects/SynthFeatureLargeConfigSpace/main.cpp +index 2a2187d..daf681b 100644 +--- a/projects/SynthFeatureLargeConfigSpace/main.cpp ++++ b/projects/SynthFeatureLargeConfigSpace/main.cpp +@@ -76,6 +76,8 @@ int main(int argc, char *argv[]) { + fp_util::sleep_for_millisecs(20); + } + ++ ___REGION_START __RT_High "performance-relevant code" + fp_util::sleep_for_millisecs(sleepTime); ++ ___REGION_END __RT_High "performance-relevant code" + return 0; + } diff --git a/SynthFeatureRestrictedConfigSpace/hot_code.info b/SynthFeatureRestrictedConfigSpace/hot_code.info new file mode 100644 index 0000000..36971cc --- /dev/null +++ b/SynthFeatureRestrictedConfigSpace/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the sleep at the end as hot code." +include_revisions: + revision_range: + start: 6863c78c242a8e67b09d2947bd83ef09ceff4be4 + end: master +path: hot_code.patch +project_name: FeaturePerfCSCollection +shortname: hot_code +tags: +- perf_region diff --git a/SynthFeatureRestrictedConfigSpace/hot_code.patch b/SynthFeatureRestrictedConfigSpace/hot_code.patch new file mode 100644 index 0000000..6eb5600 --- /dev/null +++ b/SynthFeatureRestrictedConfigSpace/hot_code.patch @@ -0,0 +1,13 @@ +diff --git a/projects/SynthFeatureRestrictedConfigSpace/main.cpp b/projects/SynthFeatureRestrictedConfigSpace/main.cpp +index da46a5e..2b6523a 100644 +--- a/projects/SynthFeatureRestrictedConfigSpace/main.cpp ++++ b/projects/SynthFeatureRestrictedConfigSpace/main.cpp +@@ -76,6 +76,8 @@ int main(int argc, char *argv[]) { + fp_util::sleep_for_millisecs(20); + } + ++ ___REGION_START __RT_High "performance-relevant code" + fp_util::sleep_for_millisecs(sleepTime); ++ ___REGION_END __RT_High "performance-relevant code" + return 0; + } diff --git a/SynthFeatureRestrictedConfigSpace/regression_1.info b/SynthFeatureRestrictedConfigSpace/regression_1.info new file mode 100644 index 0000000..b9bd6ab --- /dev/null +++ b/SynthFeatureRestrictedConfigSpace/regression_1.info @@ -0,0 +1,11 @@ +description: "Inserts regression into the sleep time computation" +include_revisions: + revision_range: + start: 6863c78c242a8e67b09d2947bd83ef09ceff4be4 + end: master +path: regression_1.patch +project_name: FeaturePerfCSCollection +shortname: reg_long_sleep +tags: +- regression +- perf_prec diff --git a/SynthFeatureRestrictedConfigSpace/regression_1.patch b/SynthFeatureRestrictedConfigSpace/regression_1.patch new file mode 100644 index 0000000..bb4527a --- /dev/null +++ b/SynthFeatureRestrictedConfigSpace/regression_1.patch @@ -0,0 +1,13 @@ +diff --git a/projects/SynthFeatureRestrictedConfigSpace/main.cpp b/projects/SynthFeatureRestrictedConfigSpace/main.cpp +index fbf505d..766484f 100644 +--- a/projects/SynthFeatureRestrictedConfigSpace/main.cpp ++++ b/projects/SynthFeatureRestrictedConfigSpace/main.cpp +@@ -51,7 +51,7 @@ int main(int argc, char *argv[]) { + + if (F5) { + if (F7 && !F3) { +- sleepTime *= 3; ++ sleepTime *= 4; + } + fp_util::sleep_for_millisecs(70); + } diff --git a/SynthIPRuntime/hot_code.info b/SynthIPRuntime/hot_code.info new file mode 100644 index 0000000..c92acff --- /dev/null +++ b/SynthIPRuntime/hot_code.info @@ -0,0 +1,10 @@ +description: "Marks the loop in function substr_run() as hot code." +include_revisions: + revision_range: + start: 793035062810ea3a2d9a10f831cd199fbbb82090 + end: master +path: hot_code.patch +project_name: FeaturePerfCSCollection +shortname: hot_code +tags: +- perf_region diff --git a/SynthIPRuntime/hot_code.patch b/SynthIPRuntime/hot_code.patch new file mode 100644 index 0000000..3533800 --- /dev/null +++ b/SynthIPRuntime/hot_code.patch @@ -0,0 +1,20 @@ +diff --git a/projects/SynthIPRuntime/main.cpp b/projects/SynthIPRuntime/main.cpp +index ede9ff9..ea0b804 100644 +--- a/projects/SynthIPRuntime/main.cpp ++++ b/projects/SynthIPRuntime/main.cpp +@@ -48,6 +48,7 @@ inline size_t substr_run(const unsigned char *ai, const unsigned char *ae, + + size_t n = 0; + ++ ___REGION_START __RT_High "substr_run_loop" + while (1) { + + if (*ai != *bi) +@@ -60,6 +61,7 @@ inline size_t substr_run(const unsigned char *ai, const unsigned char *ae, + if (ai == ae || bi == be) + break; + } ++ ___REGION_END __RT_High "substr_run_loop" + + return n; + } diff --git a/SynthIPRuntime/slower_fastmode.info b/SynthIPRuntime/slower_fastmode.info new file mode 100644 index 0000000..3ec6381 --- /dev/null +++ b/SynthIPRuntime/slower_fastmode.info @@ -0,0 +1,11 @@ +description: "Increase searchlength to slow down fastmode." +include_revisions: + revision_range: + start: 38234c9d69e6f45d612321e7cb16caeff2d6230a + end: HEAD +path: slower_fastmode.patch +project_name: FeaturePerfCSCollection +shortname: slower_fastmode +tags: +- regression +- df_regression diff --git a/SynthIPRuntime/slower_fastmode.patch b/SynthIPRuntime/slower_fastmode.patch new file mode 100644 index 0000000..2f644e4 --- /dev/null +++ b/SynthIPRuntime/slower_fastmode.patch @@ -0,0 +1,13 @@ +diff --git a/projects/SynthIPRuntime/main.cpp b/projects/SynthIPRuntime/main.cpp +index edc76b0..7f385da 100644 +--- a/projects/SynthIPRuntime/main.cpp ++++ b/projects/SynthIPRuntime/main.cpp +@@ -577,7 +577,7 @@ int getBufsize(bool smallmode, bool decompress) { + + int getSearchlen(bool fastmode) { + if (fastmode) { +- return 1; ++ return 4; + } + return DEFAULT_SEARCHLEN; + }