Gitlab Community Edition Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bnachtw
dsmci
Commits
0ee5e26f
Commit
0ee5e26f
authored
Apr 13, 2022
by
Bjoern Nachtwey
Browse files
0.6.12 fixed multiplier as it was 2 times MB but no KB
parent
d00731fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
perl/dsmci.pl
View file @
0ee5e26f
...
...
@@ -71,6 +71,7 @@
# 2022-01-24 0.6.10.2 create copy of profile file with Date for timeline anaylsis
# 2022-03-14 0.6.10.3 fixed output of profiling file
# 2022-03-14 0.6.11 add "datatransfertime" to stats file
# 2022-04-13 0.6.12 fixed multiplier as it was 2 times "MB" but no "KB"
#
# important notes
#
...
...
@@ -691,7 +692,7 @@ sub get_unit_mupliplier
{
return
1e0
;
}
elsif
(
$l_unit
=~
/MB/
)
{
return
1e-3
;
}
elsif
(
$l_unit
=~
/
M
B/
)
elsif
(
$l_unit
=~
/
K
B/
)
{
return
1e-6
;
}
elsif
(
$l_unit
=~
/ B/
)
{
return
1e-9
;
}
...
...
Write
Preview
Markdown
is supported
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