Skip to content

Commit

Permalink
Added regression patches for CRTP
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Abelt authored and LuAbelt committed Oct 13, 2023
1 parent bb344ba commit f2433a3
Show file tree
Hide file tree
Showing 370 changed files with 5,365 additions and 0 deletions.
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_10000ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 10000ms into the calculateBounds
function of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_calculateBounds_10000ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_calculateBounds_10000ms
tags:
- compile-time
- regression
- template
- 10000ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_10000ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..4ebed46 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -96,7 +96,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {

private:
__attribute__((feature_variable("BoundsCheck"))) void calculateBounds() {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 10000 );
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_1000ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 1000ms into the calculateBounds
function of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_calculateBounds_1000ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_calculateBounds_1000ms
tags:
- compile-time
- regression
- template
- 1000ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_1000ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..4ebed46 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -96,7 +96,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {

private:
__attribute__((feature_variable("BoundsCheck"))) void calculateBounds() {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 1000 );
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_100ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 100ms into the calculateBounds
function of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_calculateBounds_100ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_calculateBounds_100ms
tags:
- compile-time
- regression
- template
- 100ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_100ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..4ebed46 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -96,7 +96,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {

private:
__attribute__((feature_variable("BoundsCheck"))) void calculateBounds() {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 100 );
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_10ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 10ms into the calculateBounds
function of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_calculateBounds_10ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_calculateBounds_10ms
tags:
- compile-time
- regression
- template
- 10ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_10ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..4ebed46 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -96,7 +96,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {

private:
__attribute__((feature_variable("BoundsCheck"))) void calculateBounds() {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 10 );
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_1ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 1ms into the calculateBounds function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_calculateBounds_1ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_calculateBounds_1ms
tags:
- compile-time
- regression
- template
- 1ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_calculateBounds_1ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..4ebed46 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -96,7 +96,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {

private:
__attribute__((feature_variable("BoundsCheck"))) void calculateBounds() {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 1 );
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_10000ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 10000ms into the getElement function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_getElement_10000ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_getElement_10000ms
tags:
- compile-time
- regression
- template
- 10000ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_10000ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..c5bbf9e 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -83,7 +83,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {
}

void getElement(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 10000 );
inBounds(n);
}

16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_1000ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 1000ms into the getElement function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_getElement_1000ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_getElement_1000ms
tags:
- compile-time
- regression
- template
- 1000ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_1000ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..c5bbf9e 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -83,7 +83,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {
}

void getElement(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 1000 );
inBounds(n);
}

16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_100ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 100ms into the getElement function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_getElement_100ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_getElement_100ms
tags:
- compile-time
- regression
- template
- 100ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_100ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..c5bbf9e 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -83,7 +83,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {
}

void getElement(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 100 );
inBounds(n);
}

16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_10ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 10ms into the getElement function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_getElement_10ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_getElement_10ms
tags:
- compile-time
- regression
- template
- 10ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_10ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..c5bbf9e 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -83,7 +83,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {
}

void getElement(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 10 );
inBounds(n);
}

16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_1ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 1ms into the getElement function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_getElement_1ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_getElement_1ms
tags:
- compile-time
- regression
- template
- 1ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_getElement_1ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..c5bbf9e 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -83,7 +83,7 @@ struct BoundsCheckingStorage : Storage<BoundsCheckingStorage> {
}

void getElement(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 1 );
inBounds(n);
}

16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_inBounds_10000ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 10000ms into the inBounds function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_inBounds_10000ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_inBounds_10000ms
tags:
- compile-time
- regression
- template
- 10000ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_inBounds_10000ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..36e99a6 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -100,7 +100,7 @@ private:
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 10000 );
return true;
}
};
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_inBounds_1000ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 1000ms into the inBounds function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_inBounds_1000ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_inBounds_1000ms
tags:
- compile-time
- regression
- template
- 1000ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
13 changes: 13 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_inBounds_1000ms.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthCTCRTP/Storage.h b/projects/SynthCTCRTP/Storage.h
index 5b58bd7..36e99a6 100644
--- a/projects/SynthCTCRTP/Storage.h
+++ b/projects/SynthCTCRTP/Storage.h
@@ -100,7 +100,7 @@ private:
}

__attribute__((feature_variable("BoundsCheck"))) bool inBounds(size_t n) {
- busy_sleep_for_millisecs(1000);
+ busy_sleep_for_millisecs(1000 + 1000 );
return true;
}
};
16 changes: 16 additions & 0 deletions SynthCTCRTP/bounds-checking-storage_inBounds_100ms.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Introduces an artificial regression of 100ms into the inBounds function
of the BoundsCheckingStorage of SynthCTCRTP.
include_revisions:
revision_range:
start: 65f1dbb24c1e301288fe5f935c4ef5186e36fba3
path: bounds-checking-storage_inBounds_100ms.patch
project_name: SynthCTCRTP
shortname: bounds-checking-storage_inBounds_100ms
tags:
- compile-time
- regression
- template
- 100ms
- synthetic
- BoundsCheckingStorage
- SynthCTCRTP
Loading

0 comments on commit f2433a3

Please sign in to comment.