"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/pmdas/linux/proc_pressure.h" between
pcp-6.0.2.tar.gz and pcp-6.0.3.tar.gz

About: PCP (Performance Co-Pilot) provides a framework and services to support system-level performance monitoring and management.

proc_pressure.h  (pcp-6.0.2):proc_pressure.h  (pcp-6.0.3)
/* /*
* Linux /proc/pressure/ metrics clusters * Linux /proc/pressure/ metrics clusters
* *
* Copyright (c) 2019 Red Hat. * Copyright (c) 2019,2023 Red Hat.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the * under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your * Free Software Foundation; either version 2 of the License, or (at your
* option) any later version. * option) any later version.
* *
* This program is distributed in the hope that it will be useful, but * This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details. * for more details.
skipping to change at line 32 skipping to change at line 32
float avg[3]; /* 10, 60, 300 second averages */ float avg[3]; /* 10, 60, 300 second averages */
__uint64_t total; __uint64_t total;
} pressure_t; } pressure_t;
typedef struct { typedef struct {
pressure_t some_cpu; pressure_t some_cpu;
pressure_t full_mem; pressure_t full_mem;
pressure_t some_mem; pressure_t some_mem;
pressure_t full_io; pressure_t full_io;
pressure_t some_io; pressure_t some_io;
pressure_t full_irq;
} proc_pressure_t; } proc_pressure_t;
extern int average_proc_pressure(pressure_t *, unsigned int, pmAtomValue *); extern int average_proc_pressure(pressure_t *, unsigned int, pmAtomValue *);
extern int refresh_proc_pressure_cpu(proc_pressure_t *); extern int refresh_proc_pressure_cpu(proc_pressure_t *);
extern int refresh_proc_pressure_mem(proc_pressure_t *); extern int refresh_proc_pressure_mem(proc_pressure_t *);
extern int refresh_proc_pressure_io(proc_pressure_t *); extern int refresh_proc_pressure_io(proc_pressure_t *);
extern int refresh_proc_pressure_irq(proc_pressure_t *);
 End of changes. 3 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)