/fuchsia/zircon/system/utest/perftest/ |
H A D | clock-test.cpp | 5 #include <perftest/perftest.h> 35 perftest::RegisterSimpleTest<ClockGetMonotonicTest>("ClockGetMonotonic"); 36 perftest::RegisterSimpleTest<ClockGetUtcTest>("ClockGetUtc"); 37 perftest::RegisterSimpleTest<ClockGetThreadTest>("ClockGetThread"); 38 perftest::RegisterSimpleTest<TicksGetTest>("TicksGet");
|
H A D | malloc-test.cpp | 7 #include <perftest/perftest.h> 15 bool MallocFreeTest(perftest::RepeatState* state) { 22 perftest::DoNotOptimize(block); 33 perftest::RegisterTest("MallocFree/100bytes", MallocFreeTest);
|
H A D | syscalls-test.cpp | 5 #include <perftest/perftest.h> 22 perftest::RegisterSimpleTest<SyscallNullTest>("Syscall/Null"); 23 perftest::RegisterSimpleTest<SyscallManyArgsTest>("Syscall/ManyArgs");
|
H A D | null-test.cpp | 5 #include <perftest/perftest.h> 11 // overhead in the perftest framework's loop that calls this function, and 19 bool Null5StepTest(perftest::RepeatState* state) { 35 perftest::RegisterSimpleTest<NullTest>("Null"); 36 perftest::RegisterTest("Null5Step", Null5StepTest);
|
H A D | mutex-test.cpp | 7 #include <perftest/perftest.h> 13 bool MutexLockUnlockTest(perftest::RepeatState* state) { 28 perftest::RegisterTest("MutexLockUnlock", MutexLockUnlockTest);
|
H A D | memcpy-test.cpp | 9 #include <perftest/perftest.h> 14 bool MemcpyTest(perftest::RepeatState* state, size_t size) { 25 perftest::DoNotOptimize(src.get()); 26 perftest::DoNotOptimize(dest.get()); 38 perftest::RegisterTest(name.c_str(), MemcpyTest, size);
|
H A D | sleep-test.cpp | 6 #include <perftest/perftest.h> 19 // perftest framework. 23 // perftest framework does not support this yet. 24 bool SleepTest(perftest::RepeatState* state, zx_duration_t delay_ns) { 43 perftest::RegisterTest(name.c_str(), SleepTest, time_ns);
|
H A D | runner-test.cpp | 5 #include <perftest/perftest.h> 6 #include <perftest/runner.h> 34 static bool NoOpTest(perftest::RepeatState* state) { 40 static bool FailingTest(perftest::RepeatState* state) { 46 static bool check_times(perftest::TestCaseResults* test_case) { 60 perftest::internal::TestList test_list; 61 perftest::internal::NamedTest test{"no_op_example_test", NoOpTest}; 65 perftest::ResultsSet results; 67 EXPECT_TRUE(perftest [all...] |
H A D | handle-creation-test.cpp | 14 #include <perftest/perftest.h> 24 bool ChannelCreateTest(perftest::RepeatState* state) { 36 bool EventCreateTest(perftest::RepeatState* state) { 47 bool EventPairCreateTest(perftest::RepeatState* state) { 59 bool FifoCreateTest(perftest::RepeatState* state) { 74 bool PortCreateTest(perftest::RepeatState* state) { 87 bool ProcessCreateTest(perftest::RepeatState* state) { 93 static const char kName[] = "perftest-process"; 104 bool ThreadCreateTest(perftest [all...] |
H A D | results-test.cpp | 7 #include <perftest/results.h> 23 perftest::ResultsSet results; 24 perftest::TestCaseResults* test_case = 48 perftest::ResultsSet results; 49 perftest::TestCaseResults* test_case = 57 perftest::SummaryStatistics stats = test_case->GetSummaryStatistics(); 80 perftest::WriteJSONString(fp, "foo \"bar\" \\ \n \xff");
|
H A D | process-test.cpp | 8 #include <perftest/perftest.h> 178 bool StartTest(perftest::RepeatState* state) { 201 perftest::RegisterTest("Process/Start", StartTest);
|
/fuchsia/zircon/system/ulib/perftest/include/perftest/ |
H A D | runner.h | 8 #include <perftest/perftest.h> 10 namespace perftest { namespace 39 } // namespace perftest
|
H A D | perftest.h | 11 #include <perftest/results.h> 30 // perftest::RegisterSimpleTest<TestFooOp>("FooOp"); 38 // bool TestFooObjectOp(perftest::RepeatState* state) { 46 // perftest::RegisterTest("FooObjectOp", TestFooObjectOp); 61 // each step. The perftest library allows doing this. 72 // bool MutexUncontendedTest(perftest::RepeatState* state) { 109 // Although perftest allows a test to fail gracefully by returning false, 117 namespace perftest { namespace 133 // be declared by calling this method. This allows the perftest 215 } // namespace perftest [all...] |
H A D | results.h | 24 namespace perftest { namespace 88 } // namespace perftest
|
/fuchsia/zircon/system/ulib/fs-test-utils/include/fs-test-utils/ |
H A D | perftest.h | 15 #include <perftest/perftest.h> 65 fbl::Function<bool(perftest::RepeatState*, Fixture*)> test_fn;
|
/fuchsia/zircon/system/utest/fs-bench/ |
H A D | fs-bench.cpp | 17 #include <fs-test-utils/perftest.h> 18 #include <perftest/perftest.h> 37 bool WriteBigFile(ssize_t data_size, perftest::RepeatState* state, Fixture* fixture) { 54 bool ReadBigFile(ssize_t data_size, perftest::RepeatState* state, Fixture* fixture) { 96 perftest::RepeatState* state, Fixture* fixture, 111 perftest::RepeatState* state, Fixture* fixture, 133 bool Mkdir(perftest::RepeatState* state, Fixture* fixture) { 140 bool Stat(perftest::RepeatState* state, Fixture* fixture) { 151 bool Unlink(perftest [all...] |
H A D | rules.mk | 31 system/ulib/perftest \
|
/fuchsia/zircon/system/ulib/fs-test-utils/ |
H A D | rules.mk | 13 $(LOCAL_DIR)/perftest.cpp \ 28 system/ulib/perftest \
|
H A D | perftest.cpp | 13 #include <fs-test-utils/perftest.h> 159 Fixture* fixture, perftest::ResultsSet* result_set, TestStats* stats, 170 auto test_wrapper = [&test, fixture](perftest::RepeatState* state) { 178 bool failed = !perftest::RunTest(kTestSuite, test.name.c_str(), test_wrapper, 181 // Log if the error is from the perftest lib. 196 const TestCaseInfo& test_case, perftest::ResultsSet* result_set, 263 perftest::ResultsSet result_set;
|
/fuchsia/zircon/system/uapp/biotime/ |
H A D | rules.mk | 16 system/ulib/perftest \
|
/fuchsia/zircon/system/utest/fs-test-utils/ |
H A D | perftest_test.cpp | 16 #include <fs-test-utils/perftest.h> 184 auto test_1 = [&calls](perftest::RepeatState* state, Fixture* fixture) { 191 auto test_2 = [&calls](perftest::RepeatState* state, Fixture* fixture) { 198 auto test_3 = [&calls](perftest::RepeatState* state, Fixture* fixture) { 234 auto test_1 = [&calls](perftest::RepeatState* state, Fixture* fixture) { 241 auto test_2 = [&calls](perftest::RepeatState* state, Fixture* fixture) { 248 auto test_3 = [&calls](perftest::RepeatState* state, Fixture* fixture) { 289 auto test_1 = [](perftest::RepeatState* state, Fixture* fixture) {
|
/fuchsia/zircon/system/utest/blobfs-bench/ |
H A D | blobfs-bench.cpp | 21 #include <fs-test-utils/perftest.h> 22 #include <perftest/perftest.h> 177 bool ApiTest(perftest::RepeatState* state, Fixture* fixture) { 250 bool ReadTest(ReadOrder order, perftest::RepeatState* state, Fixture* fixture) { 359 api_test.test_fn = [test_index, &blobfs_tests](perftest::RepeatState* state, 372 &blobfs_tests](perftest::RepeatState* state,
|
H A D | rules.mk | 31 system/ulib/perftest \
|
/fuchsia/zircon/system/ulib/perftest/ |
H A D | results.cpp | 5 #include <perftest/results.h> 14 namespace perftest { namespace 199 } // namespace perftest
|
/fuchsia/zircon/system/utest/fs-management/ |
H A D | rules.mk | 32 system/ulib/perftest \
|