Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
RefinedC
Commits
092a447f
Commit
092a447f
authored
Mar 24, 2021
by
Michael Sammler
Browse files
update table
parent
6f100f85
Pipeline
#44030
passed with stage
in 19 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
destructive_gen_data.py
View file @
092a447f
...
...
@@ -251,7 +251,7 @@ stats = [ {
"name"
:
"#2"
,
"progs"
:
[
{
"name"
:
"Thread-safe allocator"
,
"abs"
:
"wand, padded,
spin
lock"
,
"abs"
:
"wand, padded, lock"
,
"stats"
:
compute_annots
([
"tutorial/t04_alloc.c"
,
"tutorial/alloc.h"
,
"tutorial/alloc_internal.h"
],
global_rules
)
},
{
"name"
:
"Page allocator"
,
...
...
@@ -261,11 +261,11 @@ stats = [ {
},
{
"name"
:
"#3"
,
"progs"
:
[
{
"name"
:
"Bin
ary
search tree (layered)"
,
"name"
:
"Bin
.
search tree (layered)"
,
"abs"
:
"wand, alloc"
,
"stats"
:
compute_annots
([
"tutorial/t08_tree.c"
,
"tutorial/proofs/t08_tree/t08_tree_extra.v"
],
global_rules
)
},
{
"name"
:
"Bin
ary
search tree (direct)"
,
"name"
:
"Bin
.
search tree (direct)"
,
"abs"
:
"wand, alloc"
,
"stats"
:
compute_annots
([
"tutorial/t11_tree_set.c"
],
global_rules
)
}
]
...
...
@@ -279,8 +279,8 @@ stats = [ {
},
{
"name"
:
"#5"
,
"progs"
:
[
{
"name"
:
"Hafnium
's
mpool allocator"
,
"abs"
:
"wand, padded,
spin
lock"
,
"name"
:
"Hafnium mpool allocator"
,
"abs"
:
"wand, padded, lock"
,
"stats"
:
compute_annots
([
"examples/mpool.c"
],
global_rules
)
}
]
},
{
...
...
@@ -314,6 +314,8 @@ for cat in stats:
if
prog
[
"name"
]
==
"Spinlock"
:
prog
[
"stats"
][
"annot"
]
+=
6
# subtract one since there is one manual evar instantiation
prog
[
"stats"
][
"exists"
]
-=
1
prog
[
"stats"
][
"overhead"
]
=
round
((
prog
[
"stats"
][
"annot"
]
+
prog
[
'stats'
][
'annot_loop'
]
+
prog
[
'stats'
][
'annot_type'
]
+
prog
[
'stats'
][
'rule'
]
+
prog
[
"stats"
][
"pure"
])
/
prog
[
"stats"
][
"LoC"
],
1
)
for
cat
in
stats
:
...
...
Write
Preview
Supports
Markdown
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