# CPU_consumption **Repository Path**: aczz/CPU_consumption ## Basic Information - **Project Name**: CPU_consumption - **Description**: No description available - **Primary Language**: C++ - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-31 - **Last Updated**: 2022-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CPU consumption monitor [![Build](https://github.com/kalkolay/CPU_consumption/actions/workflows/macos-cmake-build.yml/badge.svg)](https://github.com/kalkolay/CPU_consumption/actions/workflows/macos-cmake-build.yml) ## Description CPU consumption monitor is a C++ desktop application with OpenGL API (GLFW/GLEW) on Mac OS. This project shows CPU load curves (total and by cores).\ The UI, which is implemented via shaders, is rather primitive and similar to Task Manager (default Windows application). Sample usage: demonstration You can see total CPU consumption on the left and CPU consumption per each core on the right (cores are displayed from left to right). ## Functional features - The curves use different colors depending on the degree of load (for example, the peak load range is red); - Memory for the curves data is allocated once during the launch of the application; - Each curve is updated in a separate thread (including the general one). Threads are also created once by means of the operating system when the application is launched; - The class that updates a specific curve inherits from the base Worker interface; - The CPU consumption data is taken from Mach API; - Shaders are written on GLSL (version 330 core). Built using C++17 standard on *arm64*. ## License CPU consumption monitor is licensed under the [MIT License](https://github.com/kalkolay/CPU_consumption/blob/main/LICENSE)