Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-v6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
lustre-v6
Commits
c07c641b
Commit
c07c641b
authored
9 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
-2ch: Fix a bug introduced in
d735e71a
Indeed, I've missed that case and have no nonreg test for -2ch
parent
bd4b5c35
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/socPredef2cHeap.ml
+8
-8
8 additions, 8 deletions
src/socPredef2cHeap.ml
test/lus2lic.sum
+11
-11
11 additions, 11 deletions
test/lus2lic.sum
test/lus2lic.time
+6
-6
6 additions, 6 deletions
test/lus2lic.time
with
25 additions
and
25 deletions
src/socPredef2cHeap.ml
+
8
−
8
View file @
c07c641b
(* Time-stamp: <modified the 10/04/2015 (at 17:
0
5) by Erwan Jahier> *)
(* Time-stamp: <modified the 10/04/2015 (at 17:5
2
) by Erwan Jahier> *)
open
Data
open
Data
open
Soc
open
Soc
...
@@ -263,7 +263,7 @@ let (get_iterator : Soc.t -> string -> Soc.t -> int -> string) =
...
@@ -263,7 +263,7 @@ let (get_iterator : Soc.t -> string -> Soc.t -> int -> string) =
(* exported *)
(* exported *)
let
(
get_condact
:
Soc
.
t
->
Soc
.
t
->
var_expr
list
->
string
)
=
let
(
get_condact
:
Soc
.
t
->
Soc
.
t
->
var_expr
list
->
string
)
=
fun
soc
condact_soc
el
->
fun
soc
condact_soc
el
->
let
buff
=
ref
""
in
let
buff
=
ref
""
in
let
add
str
=
buff
:=!
buff
^
(
str
^
"
\n
"
)
in
let
add
str
=
buff
:=!
buff
^
(
str
^
"
\n
"
)
in
let
clk
=
Printf
.
sprintf
"ctx->i0"
in
let
clk
=
Printf
.
sprintf
"ctx->i0"
in
...
@@ -277,12 +277,12 @@ let (get_condact : Soc.t -> Soc.t -> var_expr list -> string ) =
...
@@ -277,12 +277,12 @@ let (get_condact : Soc.t -> Soc.t -> var_expr list -> string ) =
add
(
Soc2cHeap
.
gen_step_call
soc
condact_soc
vel_out
vel_in
condact_ctx
"step"
""
)
add
(
Soc2cHeap
.
gen_step_call
soc
condact_soc
vel_out
vel_in
condact_ctx
"step"
""
)
else
(
else
(
let
condact_ctx
=
let
condact_ctx
=
let
inst_name
=
match
soc
.
instances
with
match
soc
.
instances
with
|
[
inst
]
->
|
[
inst
]
->
(
id2s
(
fst
inst
))
let
_
,
get_index
=
Soc2cInstances
.
to_array
soc
.
instances
in
|
_
->
assert
false
let
index
=
get_index
(
inst
)
in
in
(
Printf
.
sprintf
"ctx->%s_tab[%d]"
(
get_ctx_name
condact_soc
.
key
)
index
)
Printf
.
sprintf
"ctx->%s"
inst_nam
e
|
_
->
assert
fals
e
in
in
add
(
Soc2cHeap
.
gen_step_call
soc
condact_soc
vel_out
vel_in
add
(
Soc2cHeap
.
gen_step_call
soc
condact_soc
vel_out
vel_in
condact_ctx
"step"
(
"&"
^
condact_ctx
))
condact_ctx
"step"
(
"&"
^
condact_ctx
))
...
...
This diff is collapsed.
Click to expand it.
test/lus2lic.sum
+
11
−
11
View file @
c07c641b
==> lus2lic0.sum <==
==> lus2lic0.sum <==
Test Run By jahier on Fri Apr 10 17:
4
5:
4
3
Test Run By jahier on Fri Apr 10 17:
5
5:3
5
Native configuration is x86_64-unknown-linux-gnu
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic0 tests ===
=== lus2lic0 tests ===
...
@@ -63,7 +63,7 @@ XFAIL: Test bad programs (assert): test_lus2lic_no_node should_fail/assert/lecte
...
@@ -63,7 +63,7 @@ XFAIL: Test bad programs (assert): test_lus2lic_no_node should_fail/assert/lecte
XFAIL: Test bad programs (assert): test_lus2lic_no_node should_fail/assert/s.lus
XFAIL: Test bad programs (assert): test_lus2lic_no_node should_fail/assert/s.lus
==> lus2lic1.sum <==
==> lus2lic1.sum <==
Test Run By jahier on Fri Apr 10 17:
4
5:
41
Test Run By jahier on Fri Apr 10 17:
5
5:
39
Native configuration is x86_64-unknown-linux-gnu
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic1 tests ===
=== lus2lic1 tests ===
...
@@ -397,7 +397,7 @@ PASS: gcc -o multipar.exec multipar_multipar.c multipar_multipar_loop.c
...
@@ -397,7 +397,7 @@ PASS: gcc -o multipar.exec multipar_multipar.c multipar_multipar_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c multipar.lus {}
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c multipar.lus {}
==> lus2lic2.sum <==
==> lus2lic2.sum <==
Test Run By jahier on Fri Apr 10 17:
4
5:
47
Test Run By jahier on Fri Apr 10 17:
5
5:
31
Native configuration is x86_64-unknown-linux-gnu
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic2 tests ===
=== lus2lic2 tests ===
...
@@ -727,7 +727,7 @@ PASS: gcc -o zzz2.exec zzz2_zzz2.c zzz2_zzz2_loop.c
...
@@ -727,7 +727,7 @@ PASS: gcc -o zzz2.exec zzz2_zzz2.c zzz2_zzz2_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c zzz2.lus {}
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c zzz2.lus {}
==> lus2lic3.sum <==
==> lus2lic3.sum <==
Test Run By jahier on Fri Apr 10 17:
4
5:3
9
Test Run By jahier on Fri Apr 10 17:
5
5:3
7
Native configuration is x86_64-unknown-linux-gnu
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic3 tests ===
=== lus2lic3 tests ===
...
@@ -1230,7 +1230,7 @@ PASS: ./myec2c {-o multipar.c multipar.ec}
...
@@ -1230,7 +1230,7 @@ PASS: ./myec2c {-o multipar.c multipar.ec}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node multipar.lus {}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node multipar.lus {}
==> lus2lic4.sum <==
==> lus2lic4.sum <==
Test Run By jahier on Fri Apr 10 17:
45:45
Test Run By jahier on Fri Apr 10 17:
55:32
Native configuration is x86_64-unknown-linux-gnu
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic4 tests ===
=== lus2lic4 tests ===
...
@@ -1727,11 +1727,11 @@ PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node zzz2.lus {}
...
@@ -1727,11 +1727,11 @@ PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node zzz2.lus {}
===============================
===============================
# Total number of failures: 14
# Total number of failures: 14
lus2lic0.log:testcase ./lus2lic.tests/test0.exp completed in 7 seconds
lus2lic0.log:testcase ./lus2lic.tests/test0.exp completed in 7 seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in
49
seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in
66
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in
76
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in
80
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in
49
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in
60
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 8
3
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 8
7
seconds
* Ref time:
* Ref time:
* Quick time (-j 4):
* Quick time (-j 4):
0.0
4
user 0.0
2
system 1:29.
13
elapsed 0%CPU (0avgtext+0avgdata 51
4
8maxresident)k
0.0
2
user 0.0
4
system 1:29.
54
elapsed 0%CPU (0avgtext+0avgdata 51
8
8maxresident)k
160inputs+0outputs (0major+55
41
minor)pagefaults 0swaps
160inputs+0outputs (0major+55
85
minor)pagefaults 0swaps
This diff is collapsed.
Click to expand it.
test/lus2lic.time
+
6
−
6
View file @
c07c641b
lus2lic0.log:testcase ./lus2lic.tests/test0.exp completed in 7 seconds
lus2lic0.log:testcase ./lus2lic.tests/test0.exp completed in 7 seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in
49
seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in
66
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in
76
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in
80
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in
49
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in
60
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 8
3
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 8
7
seconds
* Ref time:
* Ref time:
* Quick time (-j 4):
* Quick time (-j 4):
0.0
4
user 0.0
2
system 1:29.
13
elapsed 0%CPU (0avgtext+0avgdata 51
4
8maxresident)k
0.0
2
user 0.0
4
system 1:29.
54
elapsed 0%CPU (0avgtext+0avgdata 51
8
8maxresident)k
160inputs+0outputs (0major+55
41
minor)pagefaults 0swaps
160inputs+0outputs (0major+55
85
minor)pagefaults 0swaps
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment