added to git
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include <unistd.h>
|
||||
#include "readUtil.h"
|
||||
#include "printUtil.h"
|
||||
#include <math.h>
|
||||
|
||||
void get_cpu_usage(int cpu_cores, char buf[PANE_BUF], int *cpu_utils, int i,
|
||||
int tdelay);
|
||||
///_|> descry: return total cpu usage over a period
|
||||
///_|> cpu_cores: number of cpu cores to consider in calculations
|
||||
///_|> buf: buffer to write pane to
|
||||
///_|> cpu_utils: data array
|
||||
///_|> i: current datapoint in data array
|
||||
///_|> returning: void
|
||||
Reference in New Issue
Block a user