Merge pull request #13 from KevinMarquette/develop
Resolved issue in format #11
This commit is contained in:
@@ -31,7 +31,7 @@ class ScriptLine
|
||||
$this.LastNode.Duration = $Duration
|
||||
$this.Duration += $Duration
|
||||
$this.HitCount += 1
|
||||
$this.Average = $this.Duration.Milliseconds / $this.HitCount
|
||||
$this.Average = $this.Duration.TotalMilliseconds / $this.HitCount
|
||||
|
||||
if($Duration -lt $this.Min)
|
||||
{
|
||||
@@ -62,7 +62,7 @@ class ScriptLine
|
||||
[string] ToString()
|
||||
{
|
||||
$values = @(
|
||||
$this.Duration.Milliseconds
|
||||
$this.Duration.TotalMilliseconds
|
||||
$this.HitCount
|
||||
$this.Average
|
||||
$this.LineNumber
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
RootModule = 'chronometer.psm1'
|
||||
|
||||
# Version number of this module.
|
||||
ModuleVersion = '0.5.0'
|
||||
ModuleVersion = '0.5.1'
|
||||
|
||||
# ID used to uniquely identify this module
|
||||
GUID = 'f3719c3c-008a-4b25-b94d-fc9f587f62dd'
|
||||
|
||||
Reference in New Issue
Block a user