Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
d7020e_srp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
d7020e
d7020e_srp
Commits
5e640550
Commit
5e640550
authored
8 years ago
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Changed name to job instead of task, parse event_job
parent
8f7615bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
klee_stm_gdb.py
+5
-4
5 additions, 4 deletions
klee_stm_gdb.py
with
6 additions
and
5 deletions
Makefile
+
1
−
1
View file @
5e640550
This diff is collapsed.
Click to expand it.
klee_stm_gdb.py
+
5
−
4
View file @
5e640550
...
@@ -13,9 +13,6 @@ file_list = []
...
@@ -13,9 +13,6 @@ file_list = []
file_index_current
=
0
file_index_current
=
0
object_index_current
=
0
object_index_current
=
0
"""
For running different programs during WCET-benchmarking
"""
wcet_task
=
1
"""
Max number of events guard
"""
"""
Max number of events guard
"""
object_index_max
=
100
object_index_max
=
100
...
@@ -182,6 +179,10 @@ def posted_event_finish_execution():
...
@@ -182,6 +179,10 @@ def posted_event_finish_execution():
str
(
object_index_current
)
+
str
(
object_index_current
)
+
"
].action
"
)
"
].action
"
)
"""
Parse which running job is active
"""
event_job
=
gdb
.
parse_and_eval
(
"
job
"
)
"""
"""
print(
"
file: %r
"
% str(file_list[file_index_current]))
print(
"
file: %r
"
% str(file_list[file_index_current]))
print(
"
time: %r
"
% int(event_time))
print(
"
time: %r
"
% int(event_time))
...
@@ -195,7 +196,7 @@ def posted_event_finish_execution():
...
@@ -195,7 +196,7 @@ def posted_event_finish_execution():
event
.
append
(
int
(
event_time
))
event
.
append
(
int
(
event_time
))
event
.
append
(
str
(
event_resource
))
event
.
append
(
str
(
event_resource
))
event
.
append
(
str
(
event_action
))
event
.
append
(
str
(
event_action
))
event
.
append
(
str
(
wcet_task
))
event
.
append
(
"
j
"
+
str
(
event_job
))
print
(
"
Event: %r
"
%
event
)
print
(
"
Event: %r
"
%
event
)
...
...
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