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
38242b10
Commit
38242b10
authored
Jan 12, 2015
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the statData parameter used strictly
parent
a39d2b4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MasterWorker.hs
MasterWorker.hs
+2
-2
No files found.
MasterWorker.hs
View file @
38242b10
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TemplateHaskell
,BangPatterns
#-}
--
--
-- orbit-int master (controlling orbit computation)
-- orbit-int master (controlling orbit computation)
--
--
...
@@ -157,7 +157,7 @@ init (localTableSize, idleTimeout, spawnImgComp) =
...
@@ -157,7 +157,7 @@ init (localTableSize, idleTimeout, spawnImgComp) =
-- Table: hash table holding vertices
-- Table: hash table holding vertices
-- StatData: various counters and timers for gathering statistics
-- StatData: various counters and timers for gathering statistics
vertex_server
::
ParConf
->
Credit
->
VTable
->
Ct
->
Process
()
vertex_server
::
ParConf
->
Credit
->
VTable
->
Ct
->
Process
()
vertex_server
staticMachConf
crdt
table
statData
=
do
vertex_server
staticMachConf
crdt
table
!
statData
=
do
let
idleTimeout
=
get_idle_timeout
staticMachConf
let
idleTimeout
=
get_idle_timeout
staticMachConf
r
<-
receiveTimeout
idleTimeout
[
r
<-
receiveTimeout
idleTimeout
[
match
$
\
(
"vertex"
,
x
,
slot
,
k
)
->
do
match
$
\
(
"vertex"
,
x
,
slot
,
k
)
->
do
...
...
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