Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Cache Analysis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Touzeau
Cache Analysis
Commits
cdee1306
Commit
cdee1306
authored
Jul 24, 2019
by
Julien Balette-Pape
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add inlining option
parent
123a4262
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ocache/src/ocache.cpp
ocache/src/ocache.cpp
+6
-1
No files found.
ocache/src/ocache.cpp
View file @
cdee1306
...
...
@@ -38,7 +38,8 @@ public:
"
\t\t
5. Age based + Definitely Unknown + ZDD
\n
"
"
\t\t
6. Age based + Definitely Unknown + Sharing ZDD
\n
"
).
argDescription
(
"ANALYSIS"
)),
_cache_opt
(
option
::
ValueOption
<
string
>::
Make
(
*
this
).
cmd
(
"-c"
).
cmd
(
"--cache"
).
description
(
"select cache configuration file"
).
argDescription
(
"CACHE_CONFIG"
))
_cache_opt
(
option
::
ValueOption
<
string
>::
Make
(
*
this
).
cmd
(
"-c"
).
cmd
(
"--cache"
).
description
(
"select cache configuration file"
).
argDescription
(
"CACHE_CONFIG"
)),
_inlining
(
option
::
Switch
::
Make
(
*
this
).
cmd
(
"-i"
).
cmd
(
"--inline"
).
description
(
"enable inlining"
))
// ferdinand(option::Switch::Make(*this).cmd("--ferdinand").description("perform usual May/Must analysis")),
// model_checking(option::Switch::Make(*this).cmd("--model-checking").description("perform exact analysis using model checking")),
// zdd(option::Switch::Make(*this).cmd("--zdd").description("perform exact analysis using ZDDs"))
...
...
@@ -106,6 +107,9 @@ protected:
throw
otawa
::
Exception
(
_
<<
"unexpected positional arguments
\"
"
<<
a
<<
"
\"
."
);
}
// Enable Inlining
if
(
_inlining
)
execProcessor
(
props
,
"otawa::Virtualizer"
);
// Perform May/Must analysis
if
(
_analysis
>=
AGE_BASED
)
{
...
...
@@ -239,6 +243,7 @@ private:
List
<
Processor
*>
processor_list
;
enum
Analysis
_analysis
;
option
::
Switch
_inlining
;
// option::Switch ferdinand;
// option::Switch model_checking;
// option::Switch zdd;
...
...
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