Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dget_heap_size_benchmark.cpp77 int statm_fd = open("/proc/self/statm", O_RDONLY); in BM_read_statm() local
78 if (statm_fd == -1) { in BM_read_statm()
82 off_t result = lseek(statm_fd, 0 /* offset */, SEEK_SET); in BM_read_statm()
86 ssize_t nread = read(statm_fd, buf, BUF_SIZE); in BM_read_statm()
93 if (close(statm_fd) == -1) { in BM_read_statm()