Searched refs:perftest (Results 1 - 25 of 29) sorted by relevance

12

/fuchsia/zircon/system/utest/perftest/
H A Dclock-test.cpp5 #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 Dmalloc-test.cpp7 #include <perftest/perftest.h>
15 bool MallocFreeTest(perftest::RepeatState* state) {
22 perftest::DoNotOptimize(block);
33 perftest::RegisterTest("MallocFree/100bytes", MallocFreeTest);
H A Dsyscalls-test.cpp5 #include <perftest/perftest.h>
22 perftest::RegisterSimpleTest<SyscallNullTest>("Syscall/Null");
23 perftest::RegisterSimpleTest<SyscallManyArgsTest>("Syscall/ManyArgs");
H A Dnull-test.cpp5 #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 Dmutex-test.cpp7 #include <perftest/perftest.h>
13 bool MutexLockUnlockTest(perftest::RepeatState* state) {
28 perftest::RegisterTest("MutexLockUnlock", MutexLockUnlockTest);
H A Dmemcpy-test.cpp9 #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 Dsleep-test.cpp6 #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 Drunner-test.cpp5 #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 Dhandle-creation-test.cpp14 #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 Dresults-test.cpp7 #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 Dprocess-test.cpp8 #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 Drunner.h8 #include <perftest/perftest.h>
10 namespace perftest { namespace
39 } // namespace perftest
H A Dperftest.h11 #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 Dresults.h24 namespace perftest { namespace
88 } // namespace perftest
/fuchsia/zircon/system/ulib/fs-test-utils/include/fs-test-utils/
H A Dperftest.h15 #include <perftest/perftest.h>
65 fbl::Function<bool(perftest::RepeatState*, Fixture*)> test_fn;
/fuchsia/zircon/system/utest/fs-bench/
H A Dfs-bench.cpp17 #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 Drules.mk31 system/ulib/perftest \
/fuchsia/zircon/system/ulib/fs-test-utils/
H A Drules.mk13 $(LOCAL_DIR)/perftest.cpp \
28 system/ulib/perftest \
H A Dperftest.cpp13 #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 Drules.mk16 system/ulib/perftest \
/fuchsia/zircon/system/utest/fs-test-utils/
H A Dperftest_test.cpp16 #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 Dblobfs-bench.cpp21 #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 Drules.mk31 system/ulib/perftest \
/fuchsia/zircon/system/ulib/perftest/
H A Dresults.cpp5 #include <perftest/results.h>
14 namespace perftest { namespace
199 } // namespace perftest
/fuchsia/zircon/system/utest/fs-management/
H A Drules.mk32 system/ulib/perftest \

Completed in 101 milliseconds

12