Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Metrics

Zsolt Kővári edited this page May 5, 2015 · 1 revision

Metrics

In terms of the MONDO-SAM, it is also feasible to define metric classes. The BenchmarkMetric abstract class is suited to declare specific metrics connecting to the measurements. Currently, MONDO-SAM proposes three predefined metrics which are the following:

  • Time: With the usage of TimeMetric it is become feasible to assess the elapsed time. Arbitrary dimension can be adjusted.
  • Memory: The MemoryMetric class is responsible for measuring the used memory in the JVM.
  • Scalar: The ScalarMetric implementation facilitates the opportunity to save scalar values as benchmark metrics. In contrast of the aforementioned metrics, it does not involve any complicated logic, only behaves as a data transfer object.
Clone this wiki locally