Searched refs:results (Results 1 - 15 of 15) sorted by relevance

/fuchsia/zircon/system/utest/perftest/
H A Drunner-test.cpp56 // Test that a successful run of a perf test produces sensible results.
65 perftest::ResultsSet results; local
69 &results));
71 auto* test_cases = results.results();
93 perftest::ResultsSet results; local
97 &results));
98 EXPECT_EQ(results.results()->size(), 0);
123 perftest::ResultsSet results; local
158 perftest::ResultsSet results; local
193 perftest::ResultsSet results; local
228 perftest::ResultsSet results; local
256 perftest::ResultsSet results; local
289 perftest::ResultsSet results; local
[all...]
H A Dresults-test.cpp7 #include <perftest/results.h>
23 perftest::ResultsSet results; local
25 results.AddTestCase("results_test", "ExampleNullSyscall", "nanoseconds");
35 results.WriteJSON(fp);
48 perftest::ResultsSet results; local
50 results.AddTestCase("results_test", "ExampleNullSyscall", "nanoseconds");
H A Drules.mk19 $(LOCAL_DIR)/results-test.cpp \
/fuchsia/zircon/system/ulib/perftest/
H A Drunner.cpp148 TestCaseResults* results = dest->AddTestCase( local
150 results->bytes_processed_per_run = bytes_processed_per_run_;
151 CopyStepTimes(0, step_count_, results);
159 TestCaseResults* results = dest->AddTestCase( local
161 CopyStepTimes(step, step + 1, results);
239 TestCaseResults* results) const {
243 // Copy the timing results, converting timestamps to elapsed times.
244 results->values.reserve(run_count_);
248 results->AppendValue(
459 ResultsSet results;
[all...]
H A Drules.mk14 $(LOCAL_DIR)/results.cpp \
H A Dresults.cpp5 #include <perftest/results.h>
178 fprintf(out_file, "(No test results)\n");
/fuchsia/zircon/system/ulib/runtests-utils/
H A Ddiscover-and-run-tests.cpp75 "results will be written to a file named 'summary.json'\n"
274 fbl::Vector<fbl::unique_ptr<Result>> results; local
276 &results)) {
292 const int error = WriteSummaryJSON(results, kOutputFileName,
306 // Display any failed tests, and free the test results.
310 for (const fbl::unique_ptr<Result>& result : results) {
338 printf("\nSUMMARY: Ran %lu tests: %d failed (%" PRIu64 ".%03u sec)\n", results.size(),
H A Druntests-utils.cpp101 int WriteSummaryJSON(const fbl::Vector<fbl::unique_ptr<Result>>& results, argument
107 for (const fbl::unique_ptr<Result>& result : results) {
295 fbl::Vector<fbl::unique_ptr<Result>>* results) {
338 results->push_back(fbl::move(result));
292 RunTests(const RunTestFn& RunTest, const fbl::Vector<fbl::String>& test_paths, const char* output_dir, const fbl::StringPiece output_file_basename, signed char verbosity, int* failed_count, fbl::Vector<fbl::unique_ptr<Result>>* results) argument
/fuchsia/zircon/system/ulib/perftest/include/perftest/
H A Dperftest.h11 #include <perftest/results.h>
187 // details.) |test_suite| is included in the test results JSON and is used to
188 // categorize test results in the performance dashboard.
191 // Run a single test for |test_suite| |run_count| times, and add the results to
H A Dresults.h36 // This represents the results for a particular test case. It contains a
62 // This represents the results for a set of test cases.
69 fbl::Vector<TestCaseResults>* results() { return &results_; } function in class:perftest::ResultsSet
/fuchsia/zircon/system/utest/runtests-utils/
H A Dfuchsia-run-test.cpp171 fbl::Vector<fbl::unique_ptr<Result>> results; local
178 &num_failed, &results));
180 EXPECT_EQ(1, results.size());
181 EXPECT_LE(1, results[0]->data_sinks.size());
H A Druntests-utils-test.cpp179 fbl::Vector<fbl::unique_ptr<Result>> results; local
180 results.push_back(fbl::make_unique<Result>("/a", SUCCESS, 0));
181 results.push_back(fbl::make_unique<Result>("b", FAILED_TO_LAUNCH, 0));
182 ASSERT_EQ(0, WriteSummaryJSON(results, "output.txt", "/tmp/file_path",
216 fbl::Vector<fbl::unique_ptr<Result>> results; local
217 results.push_back(fbl::make_unique<Result>("/a", SUCCESS, 0));
218 results.push_back(fbl::make_unique<Result>("b", FAILED_TO_LAUNCH, 0));
219 ASSERT_EQ(0, WriteSummaryJSON(results, "output.txt", /*syslog_path=*/"",
253 fbl::Vector<fbl::unique_ptr<Result>> results; local
254 results
480 fbl::Vector<fbl::unique_ptr<Result>> results; local
[all...]
/fuchsia/zircon/system/ulib/runtests-utils/include/runtests-utils/
H A Druntests-utils.h5 // Helper functions for running test binaries and recording their results.
95 // Splits |input| by ',' and appends the results onto |output|.
112 // Writes a JSON summary of test results given a sequence of results.
114 // |results| are the run results to summarize.
120 int WriteSummaryJSON(const fbl::Vector<fbl::unique_ptr<Result>>& results,
128 // |resolved| will hold the results of resolving |globs|.
149 // |results| is an output paramater to which run results wil
[all...]
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Dzone.c104 void **results, unsigned num_requested);
217 zone_batch_malloc(struct _malloc_zone_t *zone, size_t size, void **results, argument
223 results[i] = je_malloc(size);
224 if (!results[i])
/fuchsia/zircon/system/uapp/biotime/
H A Dbiotime.cpp16 #include <perftest/results.h>
271 "writing results in JSON format\n"
382 perftest::ResultsSet results; local
383 auto* test_case = results.AddTestCase(
387 if (!results.WriteJSONFile(output_file)) {

Completed in 51 milliseconds