Home
last modified time | relevance | path

Searched refs:total_mem (Results 1 – 11 of 11) sorted by relevance

/third_party/libuv/test/
Dtest-get-memory.c27 uint64_t total_mem = uv_get_total_memory(); in TEST_IMPL() local
32 (unsigned long long) total_mem, in TEST_IMPL()
36 ASSERT(total_mem > 0); in TEST_IMPL()
39 ASSERT(total_mem == free_mem); in TEST_IMPL()
41 ASSERT(total_mem > free_mem); in TEST_IMPL()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dutils.c69 static size_t total_mem = 0; variable
81 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem); in PrintMemInfo()
125 total_mem += size; in AddMem()
130 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem); in AddMem()
132 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); in AddMem()
135 if (total_mem > high_water_mark) high_water_mark = total_mem; in AddMem()
151 total_mem -= block->size_; in SubMem()
154 (uint32_t)total_mem, (uint32_t)block->size_); in SubMem()
180 const uint64_t new_total_mem = (uint64_t)total_mem + total_size; in CheckSizeArgumentsOverflow()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dutils.c69 static size_t total_mem = 0; variable
81 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem); in PrintMemInfo()
128 total_mem += size; in AddMem()
133 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem); in AddMem()
135 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); in AddMem()
138 if (total_mem > high_water_mark) high_water_mark = total_mem; in AddMem()
154 total_mem -= block->size_; in SubMem()
157 (uint32_t)total_mem, (uint32_t)block->size_); in SubMem()
183 const uint64_t new_total_mem = (uint64_t)total_mem + total_size; in CheckSizeArgumentsOverflow()
/third_party/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c45 static unsigned long total_mem; variable
132 if (total_mem < 3145728UL) in test_tune()
217 total_mem = SAFE_READ_MEMINFO("MemTotal:") + SAFE_READ_MEMINFO("SwapTotal:"); in setup()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_dynamic_allocator.cc304 size_t total_mem = 0; in DumpDynamicMemPoolInfo() local
311 total_mem += (*iter)->size(); in DumpDynamicMemPoolInfo()
338 …MS_LOG(INFO) << "Total allocated memory[" << total_mem << "], used memory[" << total_used_mem << "… in DumpDynamicMemPoolInfo()
343 if (total_mem != total_used_mem + total_idle_mem1) { in DumpDynamicMemPoolInfo()
/third_party/mindspore/mindspore/ccsrc/profiler/device/ascend/
Dmemory_profiling.proto23 uint64 total_mem = 2; // total allocated device memory field
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.h114 uint64_t total_mem; member
Dzink_bo.c935 uint64_t total_mem = 0; in zink_bo_init() local
937 total_mem += screen->info.mem_props.memoryHeaps[i].size; in zink_bo_init()
941 total_mem / 8, screen, in zink_bo_init()
Dzink_screen.c1988 if (!os_get_total_physical_memory(&screen->total_mem)) in zink_internal_create_screen()
/third_party/mindspore/mindspore/profiler/parser/
Dmemory_usage_parser.py108 self._mem_summary['capacity'] = memory_proto.total_mem / GIGABYTES
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst4523 - zink: split total_mem off to total_video_mem, use total_mem for tc