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
0ee486d0
Commit
0ee486d0
authored
10 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
-2cw7 : fix the call to owcet that was wrong when -o was not used.
parent
72d53b49
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/soc2c.ml
+3
-2
3 additions, 2 deletions
src/soc2c.ml
with
3 additions
and
2 deletions
src/soc2c.ml
+
3
−
2
View file @
0ee486d0
(* Time-stamp: <modified the 24/03/2015 (at
09:41
) by Erwan Jahier> *)
(* Time-stamp: <modified the 24/03/2015 (at
10:05
) by Erwan Jahier> *)
(* let put (os: out_channel) (fmt:('a, unit, string, unit) format4) : 'a = *)
...
...
@@ -413,6 +413,7 @@ int main(){" ^ (
"
);
);
Printf
.
printf
"%s has been generated.
\n
"
mainfile
;
flush
stdout
;
close_out
oc
...
...
@@ -720,7 +721,7 @@ typedef float _float;
else
Printf
.
sprintf
"%s -o %s %s %s"
gcc
execfile
cfile
main_file
in
let
main_step
=
base
^
"_"
^
args
.
Lv6MainArgs
.
main_node
^
"_step"
in
let
main_step
=
(
string_of_soc_key
msoc
)
^
"_step"
in
let
gcc
=
if
args
.
Lv6MainArgs
.
gen_wcet
then
(
gcc
^
" > owcet.out; owcet.arm "
^
execfile
^
" --add-prop otawa::ilp::OUTPUT_PATH="
^
main_step
^
".0.lp "
^
main_step
^
" 2>&1 | grep WCET"
)
...
...
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