-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds regression for pattern counting
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
description: "Patch that adds a regression that affects pattern counting" | ||
include_revisions: | ||
revision_range: | ||
start: 06eac0edb6886a7e487867c8d5629cb2409b54fd | ||
end: master | ||
path: regression_3.patch | ||
project_name: FeaturePerfCSCollection | ||
shortname: regress_pattern_counting | ||
tags: | ||
- regression | ||
- perf_prec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/projects/SynthSAWholeProgram/service.cpp b/projects/SynthSAWholeProgram/service.cpp | ||
index df02f6d..1a0d496 100644 | ||
--- a/projects/SynthSAWholeProgram/service.cpp | ||
+++ b/projects/SynthSAWholeProgram/service.cpp | ||
@@ -2,7 +2,10 @@ | ||
#include "compute.h" | ||
#include "config.h" | ||
|
||
+#include "fp_util/sleep.h" | ||
+ | ||
uint64_t countPattern(std::string_view Data, std::string_view Pattern) { | ||
+ fp_util::busy_sleep_for_secs(1); | ||
return getPatternIdxs(Data, Pattern).size(); | ||
} | ||
|