mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 02:30:08 +01:00
bugfixes for output
This commit is contained in:
@@ -267,10 +267,10 @@ class Scheduler(object):
|
|||||||
port_line += '\n'
|
port_line += '\n'
|
||||||
cyc_line = '| Cycles |'
|
cyc_line = '| Cycles |'
|
||||||
for i in range(len(port_bndg)):
|
for i in range(len(port_bndg)):
|
||||||
space = ' '
|
space = ''
|
||||||
cyc = str(round(port_bndg[i], 2))
|
cyc = str(round(port_bndg[i], 2))
|
||||||
if(len(cyc) == 4):
|
if(len(cyc) < 4):
|
||||||
space = ''
|
space = ' ' * (4 - len(cyc))
|
||||||
cyc_line += ' {}{}|'.format(cyc, space)
|
cyc_line += ' {}{}|'.format(cyc, space)
|
||||||
cyc_line += '\n'
|
cyc_line += '\n'
|
||||||
binding = header + horiz_line + port_line + horiz_line + cyc_line + horiz_line
|
binding = header + horiz_line + port_line + horiz_line + cyc_line + horiz_line
|
||||||
|
|||||||
@@ -212,7 +212,6 @@ class Osaca(object):
|
|||||||
False if file does not exist or is not an elf64 file
|
False if file does not exist or is not an elf64 file
|
||||||
|
|
||||||
"""
|
"""
|
||||||
print(self.filepath, os.path.isfile(self.filepath))
|
|
||||||
if(os.path.isfile(self.filepath)):
|
if(os.path.isfile(self.filepath)):
|
||||||
self.store_src_code_elf()
|
self.store_src_code_elf()
|
||||||
if('file format elf64' in self.srcCode[1].lower()):
|
if('file format elf64' in self.srcCode[1].lower()):
|
||||||
|
|||||||
Reference in New Issue
Block a user