MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / TEST_F

Function TEST_F

deps/memkind/src/test/memkind_pmem_long_time_tests.cpp:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62};
63
64TEST_F(MemkindPmemLongTimeStress, DISABLED_test_TC_MEMKIND_PmemStressSmallSize)
65{
66 void *test = nullptr;
67 TimerSysTime timer;
68 timer.start();
69
70 do {
71 for (size_t i = 0; i < ARRAY_SIZE(small_size); i++) {
72 test = memkind_malloc(pmem_kind, small_size[i]);
73 ASSERT_TRUE(test != nullptr);
74 memkind_free(pmem_kind, test);
75 }
76 } while (timer.getElapsedTime() < STRESS_TIME);
77}
78
79TEST_F(MemkindPmemLongTimeStress, DISABLED_test_TC_MEMKIND_PmemStressLargeSize)
80{

Callers

nothing calls this directly

Calls 4

memkind_mallocFunction · 0.85
memkind_freeFunction · 0.85
getElapsedTimeMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected