File: proc_mem.h

package info (click to toggle)
stringtie 2.1.4%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,280 kB
  • sloc: cpp: 25,948; python: 214; makefile: 143; sh: 89
file content (9 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
#ifndef PROC_MEM_H
#define PROC_MEM_H
#include <stdio.h>
// a Linux-specific way to report the memory usage of the current process
void get_mem_usage(double& vm_usage, double& resident_set);

void print_mem_usage(FILE* fout=stderr);

#endif