Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
hilbertJoin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Perdacher
hilbertJoin
Commits
7d24793b
Commit
7d24793b
authored
Apr 08, 2019
by
Martin Perdacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
bf9c9379
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
main.cpp
main.cpp
+5
-3
mainJoin.cpp
mainJoin.cpp
+2
-1
No files found.
main.cpp
View file @
7d24793b
...
...
@@ -14,10 +14,10 @@
#include "util/arguments.h"
#include "hilbertjoin/egojoin.h"
#ifndef COUNT_ONLY
#include <boost/lockfree/queue.hpp>
#include <boost/atomic.hpp>
#ifndef COUNT_ONLY
size_t
consumer_count
;
int
consumer
(
boost
::
lockfree
::
queue
<
join_pair
>
&
queue
)
...
...
@@ -42,7 +42,9 @@ int main(int argc, char** argv) {
size_t
result
=
0l
;
int
stripes
=
14
;
int
actdim
=
3
;
#ifndef COUNT_ONLY
boost
::
lockfree
::
queue
<
join_pair
>
queue
(
10000
);
#endif
double
sortTime
=
0.0
,
reorderTime
=
0.0
,
indexTime
=
0.0
;
double
watthours
=
0.0
;
double
totaltime
=
0.0
,
algtime
=
0.0
;
...
...
@@ -72,8 +74,8 @@ int main(int argc, char** argv) {
// printf("\n");
// }
char
outfile1
[
256
]
=
"outfile1.csv"
;
save_text_file
(
array
,
n
,
d
,
outfile1
);
//
char outfile1[256] = "outfile1.csv";
//
save_text_file(array, n,d,outfile1);
// pmeter.reset(); pmeter.start();
timer
.
start
();
...
...
mainJoin.cpp
View file @
7d24793b
...
...
@@ -14,10 +14,11 @@
#include "util/arguments.h"
#include "hilbertjoin/egojoin.h"
#ifndef COUNT_ONLY
#include <boost/lockfree/queue.hpp>
#include <boost/atomic.hpp>
#ifndef COUNT_ONLY
size_t
consumer_count
;
int
consumer
(
boost
::
lockfree
::
queue
<
join_pair
>
&
queue
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment