Home
last modified time | relevance | path

Searched refs:total_memory (Results 1 – 25 of 45) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator.cc59 size_t total_memory, const string& name) in GPUBFCAllocator() argument
60 : GPUBFCAllocator(sub_allocator, total_memory, GPUOptions(), name) {} in GPUBFCAllocator()
63 size_t total_memory, in GPUBFCAllocator() argument
66 : BFCAllocator(sub_allocator, total_memory, in GPUBFCAllocator()
Dgpu_bfc_allocator.h89 GPUBFCAllocator(GPUMemAllocator* sub_allocator, size_t total_memory,
91 GPUBFCAllocator(GPUMemAllocator* sub_allocator, size_t total_memory,
Dgpu_device_test.cc39 int64 total_memory, available_memory; in GetTotalGPUMemory() local
40 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in GetTotalGPUMemory()
41 return total_memory; in GetTotalGPUMemory()
Dgpu_device.cc890 int64 total_memory = 0; in SingleVirtualDeviceMemoryLimit() local
894 if (!se->DeviceMemoryUsage(&available_memory, &total_memory)) { in SingleVirtualDeviceMemoryLimit()
923 allocated_memory = total_memory * per_process_gpu_memory_fraction; in SingleVirtualDeviceMemoryLimit()
/external/u-boot/drivers/ddr/fsl/
Dmain.c626 unsigned long long total_memory; in __fsl_ddr_sdram() local
635 total_memory = fsl_ddr_interactive(pinfo, 0); in __fsl_ddr_sdram()
637 total_memory = fsl_ddr_interactive(pinfo, 1); in __fsl_ddr_sdram()
640 total_memory = fsl_ddr_compute(pinfo, STEP_GET_SPD, 0); in __fsl_ddr_sdram()
777 debug("total_memory by %s = %llu\n", __func__, total_memory); in __fsl_ddr_sdram()
781 if ((first_ctrl == 0) && (total_memory >= (1ull << 32))) { in __fsl_ddr_sdram()
783 print_size(total_memory, " of memory\n"); in __fsl_ddr_sdram()
787 total_memory = CONFIG_MAX_MEM_MAPPED; in __fsl_ddr_sdram()
791 return total_memory; in __fsl_ddr_sdram()
851 unsigned long long total_memory = 0; in fsl_ddr_sdram_size() local
[all …]
/external/autotest/client/site_tests/performance_Tracker/
Dperformance_Tracker.py47 total_memory = utils.get_mem_total()
48 return (total_memory - utils.get_mem_free()) * 100 / total_memory
/external/autotest/client/site_tests/enterprise_KioskPerf/
Denterprise_KioskPerf.py45 total_memory = utils.get_mem_total()
46 return (total_memory - utils.get_mem_free()) * 100 / total_memory
/external/libchrome/base/android/
Djava_runtime.cc12 void JavaRuntime::GetMemoryUsage(long* total_memory, long* free_memory) { in GetMemoryUsage() argument
16 *total_memory = JNI_Runtime::Java_Runtime_totalMemory(env, runtime); in GetMemoryUsage()
Djava_runtime.h19 static void GetMemoryUsage(long* total_memory, long* free_memory);
/external/tensorflow/tensorflow/core/grappler/
Ddevices.cc66 int64 total_memory, available_memory; in AvailableGPUMemory() local
67 CHECK(se->DeviceMemoryUsage(&available_memory, &total_memory)); in AvailableGPUMemory()
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/
Denterprise_longevity_helper.py43 total_memory = system_facade.get_mem_total()
44 return ((total_memory - system_facade.get_mem_free())
45 * 100 / total_memory)
/external/autotest/client/common_lib/cros/
Dsystem_metrics_collector.py119 total_memory = self.system_facade.get_mem_total()
121 used_memory = total_memory - free_memory
122 usage_percent = (used_memory * 100) / total_memory
/external/u-boot/arch/x86/cpu/intel_common/
Dmrc.c81 info->total_memory += ptr->size; in mrc_add_memory_area()
86 info->total_32bit_memory, info->total_memory); in mrc_add_memory_area()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc33 BFCAllocator::BFCAllocator(SubAllocator* sub_allocator, size_t total_memory, in BFCAllocator() argument
43 RoundedBytes(std::min(total_memory, size_t{1048576})); in BFCAllocator()
45 curr_region_allocation_bytes_ = RoundedBytes(total_memory); in BFCAllocator()
49 memory_limit_ = total_memory; in BFCAllocator()
50 stats_.bytes_limit = static_cast<int64>(total_memory); in BFCAllocator()
Dmkl_cpu_allocator.h55 MklSmallSizeAllocator(SubAllocator* sub_allocator, size_t total_memory, in MklSmallSizeAllocator() argument
58 stats_.bytes_limit = total_memory; in MklSmallSizeAllocator()
Dbfc_allocator.h49 BFCAllocator(SubAllocator* sub_allocator, size_t total_memory,
/external/autotest/client/site_tests/longevity_Tracker/
Dlongevity_Tracker.py77 total_memory = utils.get_mem_total()
79 return ((total_memory - free_memory) / total_memory) * 100
/external/perf_data_converter/src/quipper/
Dperf_data_structures.h41 uint64_t total_memory; member
Dperf_reader.cc1136 if (!data->ReadUint32(&node.id) || !data->ReadUint64(&node.total_memory) || in ReadNUMATopologyMetadata()
1716 !data->WriteDataValue(&node.total_memory, sizeof(node.total_memory), in WriteNUMATopologyMetadata()
1956 size += sizeof(node.total_memory()) + sizeof(node.free_memory()); in GetNUMATopologyMetadataSize()
Dperf_serializer.cc935 proto_metadata->set_total_memory(metadata.total_memory); in SerializeNodeTopologyMetadata()
946 metadata->total_memory = proto_metadata.total_memory(); in DeserializeNodeTopologyMetadata()
/external/kernel-headers/original/uapi/video/
Duvesafb.h51 __u16 total_memory; member
/external/u-boot/arch/x86/include/asm/
Dglobal_data.h51 uint64_t total_memory; member
/external/u-boot/include/
Dvbe.h40 u16 total_memory; member
/external/tcpdump/
Dprint-sflow.c459 uint8_t total_memory[8]; member
479 EXTRACT_64BITS(sflow_processor_counter->total_memory), in print_sflow_counter_processor()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_driver.cc459 uint64 total_memory; in CreateContext() local
460 if (GetDeviceTotalMemory(device, &total_memory)) { in CreateContext()
461 absl::StrAppend(&message, "; total memory reported: ", total_memory); in CreateContext()

12