{"id":28406899,"url":"https://github.com/powerapi-ng/smartwatts-formula","last_synced_at":"2025-10-07T02:14:01.319Z","repository":{"id":34863613,"uuid":"185086592","full_name":"powerapi-ng/smartwatts-formula","owner":"powerapi-ng","description":"SmartWatts is a formula for a self-adaptive software-defined power meter based on the PowerAPI framework.","archived":false,"fork":false,"pushed_at":"2025-10-06T04:47:15.000Z","size":792,"stargazers_count":32,"open_issues_count":1,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-06T06:38:26.776Z","etag":null,"topics":["energy","green-computing","inria","power","power-meter","powerapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/powerapi-ng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-05T22:00:42.000Z","updated_at":"2025-10-06T04:47:18.000Z","dependencies_parsed_at":"2023-11-14T06:32:01.034Z","dependency_job_id":"2f37efc1-68b0-44e8-8322-c00bb544fb74","html_url":"https://github.com/powerapi-ng/smartwatts-formula","commit_stats":{"total_commits":297,"total_committers":9,"mean_commits":33.0,"dds":"0.49831649831649827","last_synced_commit":"76c377de49e20a0a325218f2777a7412da970094"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/powerapi-ng/smartwatts-formula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Fsmartwatts-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Fsmartwatts-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Fsmartwatts-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Fsmartwatts-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/powerapi-ng","download_url":"https://codeload.github.com/powerapi-ng/smartwatts-formula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Fsmartwatts-formula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["energy","green-computing","inria","power","power-meter","powerapi","python"],"created_at":"2025-06-01T23:10:44.137Z","updated_at":"2025-10-07T02:14:01.313Z","avatar_url":"https://github.com/powerapi-ng.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smartwatts-formula\n[![Join the chat at https://gitter.im/Spirals-Team/powerapi](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Spirals-Team/powerapi?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![License: BSD-3-Clause](https://img.shields.io/pypi/l/smartwatts.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/powerapi-ng/smartwatts-formula/build.yml)](https://github.com/powerapi-ng/smartwatts-formula/actions/workflows/build.yml)\n[![PyPI](https://img.shields.io/pypi/v/smartwatts)](https://pypi.org/project/smartwatts/)\n\nSmartWatts is a formula for a self-adaptive software-defined power meter based on the [`PowerAPI framework`](https://github.com/powerapi-ng/powerapi).  \nThis project is the implementation of the power meter depicted in the [`SmartWatts: Self-Calibrating Software-Defined Power Meter for Containers`](https://ieeexplore.ieee.org/document/9139675) paper published in the 20th IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing (CCGRID).\n\nThis project provides a software power meter that estimates the power consumption (CPU/DRAM) of the `software containers` (i.e. Docker containers, Kubernetes pods, Libvirt virtual machines...) running on a system.  \n\nThis software power meter is based on `Power Models` that distribute the total energy consumption across the running containers depending on their resource usage.\nThe `Running Average Power Limit (RAPL)` feature is used to measure the total energy consumption of the CPU/DRAM components, and the `Hardware Performance Counters (HwPC)` are used to measure the resource usage of the containers.\n\nTo monitor the Hardware Performance Counters (HwPC) of the software containers running on a Linux system, the [hwpc-sensor](https://github.com/powerapi-ng/hwpc-sensor) project is the preferred solution.\nThere is currently no support for other client/server platforms such as Windows, MacOS or VMware.\n\n## About\nSmartWatts is an open-source project developed by the [Spirals project-team](https://team.inria.fr/spirals), a joint research group between the [University of Lille](https://www.univ-lille.fr) and [Inria](https://www.inria.fr).\n\nThe documentation is available [on the PowerAPI website](https://powerapi.org).\n\n## Mailing list\nYou can follow the latest news and asks questions by subscribing to our \u003ca href=\"mailto:sympa@inria.fr?subject=subscribe powerapi\"\u003emailing list\u003c/a\u003e.\n\n## Contributing\nIf you would like to contribute, you can do so through GitHub by forking the repository and sending a pull request.\n\nWhen submitting code, please check that it follows [the project's rules](CONTRIBUTING.md) and that the **tests pass**.\n\n## Installation\nThere is two ways to install official releases of SmartWatts:\n- Using the Container image **(recommended)** [from Docker Hub](https://hub.docker.com/r/powerapi/smartwatts-formula) or the [Github Container Registry](https://github.com/powerapi-ng/smartwatts-formula/pkgs/container/smartwatts) ;\n- Using the Python package [from Pypi](https://pypi.org/project/smartwatts/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerapi-ng%2Fsmartwatts-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowerapi-ng%2Fsmartwatts-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerapi-ng%2Fsmartwatts-formula/lists"}