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
36650a70
Commit
36650a70
authored
Nov 14, 2014
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add OrbitUtils to avoid circular dependencies
parent
c26dfb63
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
Master.hs
Master.hs
+1
-5
OrbitUtils.hs
OrbitUtils.hs
+9
-0
Sequential.hs
Sequential.hs
+1
-1
No files found.
Master.hs
View file @
36650a70
--
--
-- orbit-int master (controlling orbit computation)
-- orbit-int master (controlling orbit computation)
--
--
module
Master
(
now
)
where
module
Master
()
where
-- current wall clock time (in milliseconds since start of RTS)
-- FIXME get current wall clock time
now
::
Int
now
=
42
OrbitUtils.hs
0 → 100644
View file @
36650a70
--
-- orbit-int orbitutils
--
module
OrbitUtils
(
now
)
where
-- current wall clock time (in milliseconds since start of RTS)
-- FIXME get current wall clock time
now
::
Int
now
=
42
Sequential.hs
View file @
36650a70
...
@@ -6,7 +6,7 @@ module Sequential(orbit) where
...
@@ -6,7 +6,7 @@ module Sequential(orbit) where
import
Table
(
Freq
,
VTable
,
Vertex
,
get_freq
,
freq_to_stat
,
is_member
,
insert
,
new
,
to_list
)
import
Table
(
Freq
,
VTable
,
Vertex
,
get_freq
,
freq_to_stat
,
is_member
,
insert
,
new
,
to_list
)
import
Data.Hashable
(
hash
)
import
Data.Hashable
(
hash
)
import
Data.Dequeue
(
BankersDequeue
,
fromList
,
popFront
,
pushBack
)
import
Data.Dequeue
(
BankersDequeue
,
fromList
,
popFront
,
pushBack
)
import
Master
(
now
)
import
OrbitUtils
(
now
)
type
Conf
=
([
Vertex
->
Vertex
],
Int
)
type
Conf
=
([
Vertex
->
Vertex
],
Int
)
...
...
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