Skip to content

Commit

Permalink
Bumped version to 2.5.1, marked as "stable" for PYPI.
Browse files Browse the repository at this point in the history
Fixed formatting of metrics output.
  • Loading branch information
efocht committed Jul 20, 2020
1 parent 49afd0a commit a88a70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

setup(
name = "py-veosinfo",
version = "2.5.0b",
version = "2.5.1",
ext_modules = ext_mods,
scripts = ["veperf"],
author = "Erich Focht",
Expand All @@ -55,7 +55,7 @@
data_files = [("share/py-veosinfo", ["README.md"])],
url = "https://github.com/sx-aurora/py-veosinfo",
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Education',
'Intended Audience :: Developers',
Expand Down
2 changes: 1 addition & 1 deletion veperf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def print_metrics():
for pid in sorted(METR[nodeid].keys()):
m = METR[nodeid][pid]
comm = get_pid_comm(pid)
print("%-8d %8.2fs %7.3f %7.0f %8.0f %5.0f %7.1f%% %9.1f%% %6.0f%% %7.0f%% %7.0f%% %7.3f %7.3f %-10s" % \
print("%-8d %8.2fs %7.3f %7.0f %8.0f %5.0f %7.1f%% %9.1f%% %6.0f%% %7.0f%% %7.0f%% %8.3f %8.3f %-10s" % \
(pid, m["USRSEC"], m.get("EFFTIME", 0), m.get("MOPS", 0), m.get("MFLOPS", 0),
m.get("AVGVL", 0), m.get("VOPRAT", 0), m.get("VTIMERATIO", 0),
m.get("L1CACHEMISS", 0), m.get("CPUPORTCONF", 0), m.get("VLDLLCHIT", 0),
Expand Down

0 comments on commit a88a70f

Please sign in to comment.