projects
/
pysvrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes in the logging.
[pysvrt.git]
/
svrtset.py
diff --git
a/svrtset.py
b/svrtset.py
index
ead6083
..
8f03f37
100755
(executable)
--- a/
svrtset.py
+++ b/
svrtset.py
@@
-136,7
+136,7
@@
class CompressedVignetteSet:
raise
mem = (resource.getrusage(resource.RUSAGE_SELF).ru_maxrss - usage) * 1024
raise
mem = (resource.getrusage(resource.RUSAGE_SELF).ru_maxrss - usage) * 1024
- print('Using ' + str(mem / (1024 * 1024)) + 'Gb / ' +
+ print('Using ' + str(mem / (1024 * 1024
* 1024
)) + 'Gb / ' +
str(mem / self.nb_samples) + ' bytes per sample')
self.mean = acc / self.nb_batches
str(mem / self.nb_samples) + ' bytes per sample')
self.mean = acc / self.nb_batches