eclipse-openj9 / openj9-omr

Eclipse OpenJ9's clone of the Eclipse OMR (https://github.com/eclipse/omr) project. PRs should be opened against the upstream OMR project whenever possible.
Other
38 stars 135 forks source link

(v0.43) Return another error if only one data point has been recorded #189

Closed thallium closed 10 months ago

thallium commented 10 months ago

This is to determine if a call to omrsysinfo_get_CPU_load has only one data point recorded.

Also fixed a mistake in the description saying that the first two invocations return OMRPORT_ERROR_OPFAILED and fix the time unit in the description to "ms".

Related: https://github.com/eclipse-openj9/openj9/pull/18451

Port of https://github.com/eclipse/omr/pull/7189 for 0.43

thallium commented 10 months ago

@pshipton FYI