diff options
author | Etan Cohen <etancohen@google.com> | 2018-03-27 09:29:12 -0700 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2018-03-28 11:28:11 -0700 |
commit | 7a60ea4c6a2e4426465acd0824cd9ca3a8b9e158 (patch) | |
tree | 3a43a36818d57c4b6cedccb85c7c3ec1ff74ef9b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | ce7179bfcfa296237102d74700d8335dde515428 (diff) |
[RTT] Expose new public API for number of measurements
The RTT distance and standard deviation are calculated based on a set
of N measurements. Of those M (M<=N) may be successful.
The quality of the provided results can be assessed by 2 measures:
1. The standard deviation of the results
The standard deviation is only valid if the number of successful
measurements is >1 otherwise a 0 is returned. A value of 0 cannot be
differentiated from a legitimate 0 standard deviation.
In one case (number of samples > 1) a standard deviation of 0 indicates
high confidence in the result. In the other case (number of samples = 0)
no confidence information can be derived.
2. The ratio of successful to total attempted measurements
Add API which provides the number of attempted measurements and number
of successful measurements used to calculate the final results.
Bug: 76445930
Test: N/A (unhide CL only, code verified earlier)
Change-Id: Ia7322b3abc28e83c29d0b0ae79db30fd99bb7fe1
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions