Skip to content

Metrics for Store instances incorrectly converts NS to MS #535

@gpauloski

Description

@gpauloski

Describe the problem.

The add_time method converts NS to MS by dividing by 1000 but it should be divide by 1000000.

times[name].add_time(time_ns / 1000)

Potentially, we should change Metrics.add_time to take milliseconds directly, and use the elapsed_ms attribute of the Timer in `Store.

How did you install ProxyStore?

pip install proxystore

ProxyStore Version

v0.6.4

Python Version

All

OS and Platform

All

Metadata

Metadata

Assignees

Labels

bugError, flaw, or fault that causes unexpected behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions