Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pta2maude
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
real-time maude
pta2maude
Commits
61969707
Commit
61969707
authored
2 years ago
by
Jaime Arias
Browse files
Options
Downloads
Patches
Plain Diff
update script
parent
a2cd7c9e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/benchmarks.sh
+17
-5
17 additions, 5 deletions
benchmarks/benchmarks.sh
with
17 additions
and
5 deletions
benchmarks/benchmarks.sh
+
17
−
5
View file @
61969707
...
...
@@ -4,13 +4,16 @@
imitator
=
"
${
HOME
}
/Work/code/imitator/imitator/bin/imitator"
# pta2maude parser
parser
=
"
${
HOME
}
/Work/LIPN/projects/esprits/parser/app.py"
parser
=
"
${
HOME
}
/Work/code/esprits/pta2maude/app.py"
# maude binary
maude
=
"maude.linux64 -no-banner -batch"
# folder containing the folder
model_folder
=
"models"
#
maude binary
mau
de
=
"
maude.darwin64 -no-banner -batch
"
#
output folder
output_fol
de
r
=
"
logs/
${
model
}
"
# run imitator
...
...
@@ -23,7 +26,7 @@ function run_imitator {
}
# run parser
# run parser
pta2maude
function
parser_files
{
model
=
$1
mode
=
$2
...
...
@@ -31,11 +34,21 @@ function parser_files {
python3
$parser
--input
"
${
model_folder
}
/
${
model
}
.imi"
--output
"
${
model_folder
}
/
${
model
}
.
${
mode
}
.maude"
"--
${
mode
}
"
}
# run Maude
function
run_maude
{
filename
=
$1
timeout
$timeout
${
maude
}
"
${
filename
}
"
}
# create a folder
function
create_folder
{
path
=
$1
if
[
!
-d
"
$path
"
]
;
then
mkdir
-p
"
$path
"
;
fi
}
# Timeout in seconds (3 minutes)
timeout
=
"5m"
...
...
@@ -45,7 +58,6 @@ model="accel-1000"
# maude mode
mode
=
"collapsing"
output_folder
=
"logs/
${
model
}
"
# 1) generate the full model with parser
# parser_files $model "$mode"
...
...
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