aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/config.go b/actions/config.go
index 55010a5..81f6e4f 100644
--- a/actions/config.go
+++ b/actions/config.go
@@ -230,7 +230,7 @@ func timeHashingCosts(costs *metadata.HashingCosts) (time.Duration, error) {
}
end := cpuTimeInNanoseconds()
- return time.Duration(end - begin), nil
+ return time.Duration((end - begin) / costs.Parallelism), nil
}
// cpuTimeInNanoseconds returns the nanosecond count based on the process's CPU usage.