Commit ce41dc0c authored by Yiannis Tsiouris's avatar Yiannis Tsiouris

Re-format exports

parent 892445d0
...@@ -8,7 +8,8 @@ module Credit( credit ...@@ -8,7 +8,8 @@ module Credit( credit
, zero , zero
, one , one
, is_zero , is_zero
, is_one) where , is_one
) where
-- An *atomic credit* is represented as a non-negative integer k; -- An *atomic credit* is represented as a non-negative integer k;
-- it stands for the credit 1/{2^k}. -- it stands for the credit 1/{2^k}.
......
-- --
-- orbit-int master (controlling orbit computation) -- orbit-int master (controlling orbit computation)
-- --
module Master () where module Master where
import Control.Distributed.Process (Process, ProcessId, match, import Control.Distributed.Process (Process, ProcessId, match,
receiveWait) receiveWait)
......
-- --
-- orbit-int sequential implementation -- orbit-int sequential implementation
-- --
module Sequential(Generator module Sequential( Generator
, orbit) where , orbit
) where
import Data.Dequeue (BankersDequeue, fromList, popFront, pushBack) import Data.Dequeue (BankersDequeue, fromList, popFront, pushBack)
import Data.Hashable (hash) import Data.Hashable (hash)
......
...@@ -20,7 +20,8 @@ module Table( Freq ...@@ -20,7 +20,8 @@ module Table( Freq
, avg_nonempty_freq , avg_nonempty_freq
, freq_to_stat , freq_to_stat
, freq_from_stat , freq_from_stat
, fill_deg) where , fill_deg
) where
import Data.Array (Array, elems, listArray, (!), (//)) import Data.Array (Array, elems, listArray, (!), (//))
import Types (Freq, Stats, VTable, Vertex) import Types (Freq, Stats, VTable, Vertex)
......
-- --
-- orbit-int types -- orbit-int types
-- --
module Types ( Ct(..) module Types( Ct(..)
, Generator , Generator
, Freq , Freq
, HostInfo(..) , HostInfo(..)
......
-- --
-- orbit-int worker -- orbit-int worker
-- --
module Worker ( defaultCt module Worker( defaultCt
, now , now
, worker_stats , worker_stats
, verts_recvd_from_stat , verts_recvd_from_stat
...@@ -16,15 +16,15 @@ import Control.Distributed.Process (NodeId) ...@@ -16,15 +16,15 @@ import Control.Distributed.Process (NodeId)
import Table (freq_to_stat) import Table (freq_to_stat)
import Types (Ct (..), Freq, Stats) import Types (Ct (..), Freq, Stats)
defaultCt = Ct { defaultCt :: Ct
verts_recvd = 0 defaultCt = Ct { verts_recvd = 0
, credit_retd = 0 , credit_retd = 0
, min_atomic_credit = 0 , min_atomic_credit = 0
, last_event = now , last_event = now
, init_idle = -1 , init_idle = -1
, tail_idle = -1 , tail_idle = -1
, max_idle = -1 , max_idle = -1
} }
-- current wall clock time (in milliseconds since start of RTS) -- current wall clock time (in milliseconds since start of RTS)
-- FIXME get current wall clock time -- FIXME get current wall clock time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment