Merge pull request #13 from KevinMarquette/develop

Resolved issue in format #11
This commit is contained in:
Kevin Marquette
2017-02-08 20:45:27 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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'