boinc/api
David Anderson 8020fde86a client/API/docker_wrapper: get CPU and mem usage of Docker apps
Mem usage (WSS):
The easiest way to get the WSS of a Docker contaier is to ask Docker
using the "docker stats" command.
So I have docker_wrapper do this periodically (10 sec... it's a bit slow).

But how to get this back to the client?
Currently there's no provision for an app to reports its own WSS.
So I added one, by adding an optional field to the app status messages
sent from app to client in shared mem.
If this is present, the client uses it instead of procinfo.

CPU time: "docker stats" reports CPU fraction
(averaged over what period?)
We multiply that by the stats poll.
Not exactly the same as CPU time, but close enough.
2024-10-28 19:34:30 -07:00
..
ttf/liberation-fonts-ttf-2.00.0
Makefile.am Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
Makefile.mingw
MultiGPUMig.defs Mac: Changes to Xcode project to support screensaver changes for Mac OS 10.13. Added file needed for Mach-O communication. 2017-10-02 18:02:00 -07:00
boinc_api.cpp client/API/docker_wrapper: get CPU and mem usage of Docker apps 2024-10-28 19:34:30 -07:00
boinc_api.h client/API/docker_wrapper: get CPU and mem usage of Docker apps 2024-10-28 19:34:30 -07:00
boinc_api_fortran.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
boinc_gl.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
boinc_glut.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
boinc_opencl.cpp Missing items for Apple GPU support 2024-08-08 13:50:58 -07:00
boinc_opencl.h Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
graphics2.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
graphics2.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
graphics2_unix.cpp Mac: graphics library changes to allow building project graphics apps compatible with MacOS 14 screensver 2024-05-03 01:15:24 -07:00
graphics2_util.cpp Revisited Debian patch 'more_maxpathlen.patch' 2019-08-29 15:09:44 +02:00
graphics2_win.cpp libgraphics: fix warnings 2024-09-10 02:26:24 +02:00
graphics_api.cpp Various files: simplify #includes. 2020-06-04 01:24:49 -07:00
graphics_api.h Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
graphics_data.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
graphics_data.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
graphics_impl.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
graphics_impl.h
graphics_impl_lib.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
graphics_lib.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
graphics_lib.h
gutil.cpp libgraphics: fix warnings 2024-09-10 02:26:24 +02:00
gutil.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
gutil_text.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
libboinc_api.pc.in Change doc URLs from trac wiki to github wiki in source code and project files. 2023-10-08 13:20:05 -07:00
libboinc_graphics2.pc.in Change doc URLs from trac wiki to github wiki in source code and project files. 2023-10-08 13:20:05 -07:00
libboinc_opencl.pc.in Change doc URLs from trac wiki to github wiki in source code and project files. 2023-10-08 13:20:05 -07:00
mac_icon.cpp Replace sprintf with snprintf 2022-08-03 11:21:59 +02:00
macglutfix.m Mac: graphics library changes to allow building project graphics apps compatible with MacOS 14 screensver 2024-05-03 01:15:24 -07:00
make_app_icon_h.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
reduce.h Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
reduce_lib.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
reduce_main.cpp Various files: simplify #includes. 2020-06-04 01:24:49 -07:00
static_graphics.cpp Remove unused BOINC_RCSID constants 2019-01-12 23:43:48 +02:00
ttfont.cpp clarify meaning of DEBUG in C++ code 2024-08-09 12:40:54 +02:00
ttfont.h change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
windows_opengl.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
x_opengl.cpp Remove trailing whitespaces. Add CI script to verify in on every commit 2023-05-05 20:08:17 +02:00
x_opengl.h Mac: graphics library changes to allow building project graphics apps compatible with MacOS 14 screensver 2024-05-03 01:15:24 -07:00