MCPcopy Create free account
hub / github.com/BlazingDB/blazingsql / TEST_F

Function TEST_F

engine/tests/allocation_pool/allocation_pool.cpp:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73TEST_F(AllocationPoolTest, initialize_test) {
74 std::size_t size_buffers_host = 4000000;
75 std::size_t num_buffers_host = 100;
76 std::size_t size_buffers_pinned = 4000000;
77 std::size_t num_buffers_pinned = 100;
78 bool map_ucx = false;
79
80 auto context = CreateUcpContext();
81 ral::memory::set_allocation_pools(size_buffers_host, num_buffers_host,
82 size_buffers_pinned, num_buffers_pinned, map_ucx, context);
83
84 ral::memory::empty_pools();
85 ucp_cleanup(context);
86}
87
88
89TEST_F(AllocationPoolTest, mem_map_test) {

Callers

nothing calls this directly

Calls 5

set_allocation_poolsFunction · 0.85
empty_poolsFunction · 0.85
CreateUcpContextFunction · 0.70
CheckErrorFunction · 0.70
getUcpMemoryHandleMethod · 0.45

Tested by

no test coverage detected