Make PrintResultMeanAndError receive two doubles instead of a string.
Bug: webrtc:8566 Change-Id: Ida925b030bff24275d34c0e888ee362e94c46b21 Reviewed-on: https://webrtc-review.googlesource.com/25540 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Alex Loiko <aleloi@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20866}
This commit is contained in:
@ -75,11 +75,14 @@ void PrintResult(const std::string& measurement,
|
||||
void PrintResultMeanAndError(const std::string& measurement,
|
||||
const std::string& modifier,
|
||||
const std::string& trace,
|
||||
const std::string& mean_and_error,
|
||||
const double mean,
|
||||
const double error,
|
||||
const std::string& units,
|
||||
bool important) {
|
||||
PrintResultsImpl(measurement, modifier, trace, mean_and_error,
|
||||
"{", "}", units, important);
|
||||
std::ostringstream value_stream;
|
||||
value_stream << '{' << mean << ',' << error << '}';
|
||||
PrintResultsImpl(measurement, modifier, trace, value_stream.str(), "", "",
|
||||
units, important);
|
||||
}
|
||||
|
||||
void PrintResultList(const std::string& measurement,
|
||||
|
||||
@ -47,7 +47,8 @@ void PrintResult(const std::string& measurement,
|
||||
void PrintResultMeanAndError(const std::string& measurement,
|
||||
const std::string& modifier,
|
||||
const std::string& trace,
|
||||
const std::string& mean_and_error,
|
||||
const double mean,
|
||||
const double error,
|
||||
const std::string& units,
|
||||
bool important);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user