12 lines
398 B
C
12 lines
398 B
C
#include "readUtil.h"
|
|
#include <math.h>
|
|
#include <unistd.h>
|
|
#include "printUtil.h"
|
|
|
|
void get_mem_usage(int mem_total, char buf[PANE_BUF], int *mem_usages, int i);
|
|
///_|> descry: return total mem usage
|
|
///_|> mem_total: total memory for use in calculations
|
|
///_|> buf: buffer to write pane to
|
|
///_|> mem_usages: data array
|
|
///_|> i: current datapoint in data array
|
|
///_|> returning: void
|