Home
last modified time | relevance | path

Searched refs:size_str (Results 1 – 2 of 2) sorted by relevance

/tools/perf/bench/
Dmem-functions.c31 static const char *size_str = "1MB"; variable
38 OPT_STRING('s', "size", &size_str, "1MB",
137 printf("# Copying %s bytes ...\n\n", size_str); in __bench_mem_function()
172 printf("# Memory allocation failed - maybe size (%s) is too large?\n", size_str); in __bench_mem_function()
192 size = (size_t)perf_atoll((char *)size_str); in bench_mem_common()
196 fprintf(stderr, "Invalid size:%s\n", size_str); in bench_mem_common()
/tools/vm/
Dslabinfo.c573 char size_str[20]; in slabcache() local
596 store_size(size_str, slab_size(s)); in slabcache()
598 store_size(size_str, slab_waste(s)); in slabcache()
641 s->name, s->objects, s->object_size, size_str, dist_str, in slabcache()