Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-orbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Katerina Roukounaki
cloud-orbit
Commits
45d3127f
Commit
45d3127f
authored
Nov 20, 2014
by
Aggelos Giantsios
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change timeout to 0 (Non blocking receive)
And it magically works!!!
parent
aabc1ad0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Bench.hs
Bench.hs
+2
-2
No files found.
Bench.hs
View file @
45d3127f
...
@@ -43,14 +43,14 @@ par_seq generators n p =
...
@@ -43,14 +43,14 @@ par_seq generators n p =
dist
::
(
Vertex
->
GenClos
)
->
Vertex
->
Int
->
[
NodeId
]
->
Process
String
dist
::
(
Vertex
->
GenClos
)
->
Vertex
->
Int
->
[
NodeId
]
->
Process
String
dist
generators
n
p
workers
=
dist
generators
n
p
workers
=
orbit
(
generators
n
)
[
0
]
orbit
(
generators
n
)
[
0
]
(
Par
(
Many
[(
h
,
p
,
(
2
*
n
)
`
div
`
(
w
*
p
)
+
1
,
1
,
True
)
|
h
<-
workers
]))
(
Par
(
Many
[(
h
,
p
,
(
2
*
n
)
`
div
`
(
w
*
p
)
+
1
,
0
,
True
)
|
h
<-
workers
]))
>>=
return
.
sz
.
snd
>>=
return
.
sz
.
snd
where
w
=
length
workers
where
w
=
length
workers
dist_seq
::
(
Vertex
->
GenClos
)
->
Vertex
->
Int
->
[
NodeId
]
->
Process
String
dist_seq
::
(
Vertex
->
GenClos
)
->
Vertex
->
Int
->
[
NodeId
]
->
Process
String
dist_seq
generators
n
p
workers
=
dist_seq
generators
n
p
workers
=
orbit
(
generators
n
)
[
0
]
orbit
(
generators
n
)
[
0
]
(
Par
(
Many
[(
h
,
p
,
(
2
*
n
)
`
div
`
(
w
*
p
)
+
1
,
1
,
False
)
|
h
<-
workers
]))
(
Par
(
Many
[(
h
,
p
,
(
2
*
n
)
`
div
`
(
w
*
p
)
+
1
,
0
,
False
)
|
h
<-
workers
]))
>>=
return
.
sz
.
snd
>>=
return
.
sz
.
snd
where
w
=
length
workers
where
w
=
length
workers
...
...
Yiannis Tsiouris
@gtsiour
·
Nov 20, 2014
Maintainer
ΞΞ―ΟΞ±ΞΉ ΟΟΞλα! :)
ΞΞ―ΟΞ±ΞΉ ΟΟΞλα! :)
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