Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 6 of 6) sorted by relevance

/oneTBB/src/tbb/
H A Dconcurrent_bounded_queue.cpp31 …std::uint8_t* mem = static_cast<std::uint8_t*>(cache_aligned_allocate(queue_rep_size + monitors_me… in allocate_bounded_queue_rep() local
33 concurrent_monitor* monitors = reinterpret_cast<concurrent_monitor*>(mem + queue_rep_size); in allocate_bounded_queue_rep()
38 return mem; in allocate_bounded_queue_rep()
41 void __TBB_EXPORTED_FUNC deallocate_bounded_queue_rep( std::uint8_t* mem, std::size_t queue_rep_siz… in deallocate_bounded_queue_rep() argument
43 concurrent_monitor* monitors = reinterpret_cast<concurrent_monitor*>(mem + queue_rep_size); in deallocate_bounded_queue_rep()
48 cache_aligned_deallocate(mem); in deallocate_bounded_queue_rep()
/oneTBB/test/common/
H A Dmemory_usage.h92 PROCESS_MEMORY_COUNTERS mem; variable
93 bool status = GetProcessMemoryInfo(GetCurrentProcess(), &mem, sizeof(mem)) != 0;
95 return stat == currentUsage ? mem.PagefileUsage : mem.PeakPagefileUsage;
/oneTBB/examples/parallel_for/tachyon/src/
H A Dutil.cpp136 void* mem; in rt_getmem() local
138 mem = malloc(bytes); in rt_getmem()
139 if (mem != nullptr) { in rt_getmem()
145 return mem; in rt_getmem()
/oneTBB/examples/common/gui/
H A Dvideo.hpp53 inline void set_address(char *mem) { in set_address() argument
54 my_address = reinterpret_cast<uintptr_t>(mem); in set_address()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp570 void* mem = scalable_malloc(2*slabSize); in TestObjectRecognition() local
571 REQUIRE_MESSAGE(mem, "Memory was not allocated"); in TestObjectRecognition()
572 Block* falseBlock = (Block*)alignUp((uintptr_t)mem, slabSize); in TestObjectRecognition()
628 obtainedSize = __TBB_malloc_safer_msize(mem, nullptr); in TestObjectRecognition()
630 scalable_free(mem); in TestObjectRecognition()
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_queue.h307 …TBB_EXPORT void __TBB_EXPORTED_FUNC deallocate_bounded_queue_rep( std::uint8_t* mem, std::size_t q…