class ResultsSet
Defined at line 62 of file ../../zircon/system/ulib/perftest/include/perftest/results.h
This represents the results for a set of test cases.
The test cases may be kept in the order in which they were run, in case
ordering is significant. (For example, it might turn out that one test
case affects a later test case.)
Public Methods
fbl::Vector<TestCaseResults> * results ()
Defined at line 64 of file ../../zircon/system/ulib/perftest/include/perftest/results.h
TestCaseResults * AddTestCase (const fbl::String & test_suite, const fbl::String & label, const fbl::String & unit)
Defined at line 137 of file ../../zircon/system/ulib/perftest/results.cc
void WriteJSON (FILE * out_file)
A caller may check for errors using ferror().
Defined at line 144 of file ../../zircon/system/ulib/perftest/results.cc
bool WriteJSONFile (const char * output_filename)
Writes the data to a file, in JSON format. Returns whether this was
successful; prints an error to stderr if this was not successful.
Defined at line 157 of file ../../zircon/system/ulib/perftest/results.cc
void PrintSummaryStatistics (FILE * out_file)
Defined at line 168 of file ../../zircon/system/ulib/perftest/results.cc