Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
schedgen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Pour rappel, le service sera inaccessible ce lundi 05/05/25 midi pour raison de mise à jour.
Show more breadcrumbs
veriT
schedgen
Commits
75718128
Commit
75718128
authored
3 years ago
by
Hans-Jörg
Browse files
Options
Downloads
Patches
Plain Diff
Visualizer: pgf output better floats
parent
2078c4ec
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
schedgen/schedgen-simulate.py
+0
-1
0 additions, 1 deletion
schedgen/schedgen-simulate.py
schedgen/schedgen-visualize.py
+1
-1
1 addition, 1 deletion
schedgen/schedgen-visualize.py
with
1 addition
and
2 deletions
schedgen/schedgen-simulate.py
+
0
−
1
View file @
75718128
...
...
@@ -8,7 +8,6 @@ from schedgen.opt.schedule import read_from_file
from
schedgen.opt.helper
import
message
,
file_or_dir_path
,
new_file_path
,
file_path
from
schedgen.parsers.gridtpt
import
GridTPT
from
schedgen.parsers.csvresult
import
CSVResult
from
sys
import
stdout
args_parser
=
argparse
.
ArgumentParser
(
description
=
"
Simulate a schedule on a set of bechmarks.
"
...
...
This diff is collapsed.
Click to expand it.
schedgen/schedgen-visualize.py
+
1
−
1
View file @
75718128
...
...
@@ -133,7 +133,7 @@ def print_tiks(table_width, total_time, row, output_file):
def
print_times
(
table_width
,
total_time
,
row
,
output_file
):
y
=
row
*
0.5
-
0.23
output_file
.
write
(
f
"
\\
node at (0,
{
y
}
) {{
{
font_cmd
}
0}};
\n
"
)
output_file
.
write
(
f
"
\\
node at (
{
table_width
}
,
{
y
}
) {{
{
font_cmd
}
{
total_time
}
}};
\n
"
)
output_file
.
write
(
f
"
\\
node at (
{
table_width
}
,
{
y
}
) {{
{
font_cmd
}
{
total_time
:
g
}
}};
\n
"
)
def
render_markings
(
total_time
,
canvas
):
...
...
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