Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scdaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scouting-demonstrator
scdaq
Commits
426e07c5
Commit
426e07c5
authored
2 years ago
by
Petr Zejdl
Browse files
Options
Downloads
Patches
Plain Diff
Using 100 threads
parent
e31f9feb
No related branches found
No related tags found
No related merge requests found
Pipeline
#4706617
passed
2 years ago
Stage: build
Stage: run
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/pipeline_serial_in_order_test/main.cc
+2
-2
2 additions, 2 deletions
test/pipeline_serial_in_order_test/main.cc
with
2 additions
and
2 deletions
test/pipeline_serial_in_order_test/main.cc
+
2
−
2
View file @
426e07c5
...
@@ -46,7 +46,7 @@ class MyTransformFunc : public tbb::filter {
...
@@ -46,7 +46,7 @@ class MyTransformFunc : public tbb::filter {
// Lower numbers are delayed more than higher numbers - should force out of
// Lower numbers are delayed more than higher numbers - should force out of
// order processing NOTE: It would be better to use barriers but this is
// order processing NOTE: It would be better to use barriers but this is
// simpler and also works
// simpler and also works
usleep
(
static_cast
<
unsigned
int
>
((
10
-
(
number
%
10
)
)
*
10000
0
));
usleep
(
static_cast
<
unsigned
int
>
(
(
10
0
-
number
)
*
10000
));
LOG
(
INFO
)
<<
number
;
LOG
(
INFO
)
<<
number
;
return
item
;
return
item
;
}
}
...
@@ -93,7 +93,7 @@ int main(int argc, char *argv[]) {
...
@@ -93,7 +93,7 @@ int main(int argc, char *argv[]) {
(
void
)(
argc
);
(
void
)(
argc
);
(
void
)(
argv
);
(
void
)(
argv
);
int
threads
=
10
;
int
threads
=
10
0
;
int
tokens
=
100
;
int
tokens
=
100
;
int
maxN
=
100
;
int
maxN
=
100
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment