/external/fio/ |
memory.c | 64 static int alloc_mem_shm(struct thread_data *td, unsigned int total_mem) 73 total_mem = (total_mem + mask) & ~mask; 76 td->shm_id = shmget(IPC_PRIVATE, total_mem, flags); 77 dprint(FD_MEM, "shmget %u, %d\n", total_mem, td->shm_id); 125 static int alloc_mem_mmap(struct thread_data *td, size_t total_mem) 137 total_mem = (total_mem + mask) & ~mask; 149 ftruncate(td->mmapfd, total_mem) < 0) { 161 td->orig_buffer = mmap(NULL, total_mem, PROT_READ | PROT_WRITE, flags 213 size_t total_mem; local 249 unsigned int total_mem; local [all...] |
/external/webp/src/utils/ |
utils.c | 67 static size_t total_mem = 0; variable 79 fprintf(stderr, "total_mem: %u\n", (uint32_t)total_mem); 80 fprintf(stderr, "total_mem allocated: %u\n", (uint32_t)total_mem_allocated); 123 total_mem += size; 128 num_malloc_calls + num_calloc_calls, (uint32_t)total_mem); 130 fprintf(stderr, "Mem: %u (+%u)\n", (uint32_t)total_mem, (uint32_t)size); 133 if (total_mem > high_water_mark) high_water_mark = total_mem; 149 total_mem -= block->size_ [all...] |
/external/autotest/client/virt/ |
virt_scheduler.py | 11 def __init__(self, tests, num_workers, total_cpus, total_mem, bindir): 18 @param total_mem: The total amount of memory to dedicate to tests. 24 self.total_mem = total_mem 178 if um and um + test_used_mem > self.total_mem: 191 if um and um + test_used_mem > self.total_mem:
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
header.h | 77 unsigned long long total_mem; member in struct:perf_session_env
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
header.h | 90 unsigned long long total_mem; member in struct:perf_session_env
|
/external/autotest/client/tests/kvm/ |
control.parallel | 184 # total_mem defaults to 3/4 of the total memory reported by 'free' 185 total_mem = int(commands.getoutput("free -m").splitlines()[1].split()[1]) * 3/4 190 s = virt_scheduler.scheduler(tests, num_workers, total_cpus, total_mem, pwd)
|
/system/extras/simpleperf/ |
cmd_dumprecord.cpp | 143 {FEAT_TOTAL_MEM, "total_mem"},
|
/external/squashfs-tools/squashfs-tools/ |
mksquashfs.c | 331 void check_usable_phys_mem(int total_mem); 4261 int total_mem = readq; local 5275 int total_mem = get_default_phys_mem(); local [all...] |
/external/tcpdump/ |
print-sflow.c | 457 ND_PRINT((ndo, "\n\t 5sec %u, 1min %u, 5min %u, total_mem %" PRIu64 458 ", total_mem %" PRIu64,
|