{"id":28406884,"url":"https://github.com/powerapi-ng/rapl-formula","last_synced_at":"2025-06-29T09:31:45.514Z","repository":{"id":41677075,"uuid":"175210839","full_name":"powerapi-ng/rapl-formula","owner":"powerapi-ng","description":"PowerAPI formula using RAPL counters to provides power consumption information.","archived":false,"fork":false,"pushed_at":"2022-07-29T14:06:06.000Z","size":66,"stargazers_count":6,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-02T08:19:29.414Z","etag":null,"topics":["energy","green-computing","inria","performance-counters","power","power-meter","powerapi","rapl","spirals"],"latest_commit_sha":null,"homepage":"http://powerapi.org","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":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-12T12:53:25.000Z","updated_at":"2022-07-04T11:52:36.000Z","dependencies_parsed_at":"2022-09-24T13:00:28.361Z","dependency_job_id":null,"html_url":"https://github.com/powerapi-ng/rapl-formula","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/powerapi-ng/rapl-formula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Frapl-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Frapl-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Frapl-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Frapl-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/powerapi-ng","download_url":"https://codeload.github.com/powerapi-ng/rapl-formula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powerapi-ng%2Frapl-formula/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262569512,"owners_count":23330232,"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","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","performance-counters","power","power-meter","powerapi","rapl","spirals"],"created_at":"2025-06-01T23:10:29.584Z","updated_at":"2025-06-29T09:31:45.504Z","avatar_url":"https://github.com/powerapi-ng.png","language":"Python","readme":"# RAPL-formula\n\nA [powerAPI](https://github.com/powerapi-ng/powerapi) formula using RAPL\ncounters to provides power consumption information of each socket of the\nmonitored machine.\n\nUse RAPL data collected with the\n[hwpc-sensor](https://github.com/powerapi-ng/hwpc-sensor) and convert it into\npower consumption measures (in Watt). The power consumption measures are store\nin a MongoDB database.\n\n# Quick start\n\nWe detail here how to quickly start rapl-formula and connect it to a hwpc-sensor\nusing a mongoDB instance.\n\nFor more detail see our documentation [here](http://powerapi.org)\n\n## Get input data\n\nYou have to launch the [hwpc-sensor](https://github.com/powerapi-ng/hwpc-sensor) to\nmonitor sockets. The sensor must store its data in a mongoDB database. This\ndatabase must be accessible by the rapl_formula.\n\n## Configuration\n\nYou can pass the configuration through a file or the CLI.\nIn both case the parameters to precises are the following :\n\n- `verbose` (bool)\n- `stream` (bool): If working with a sensor in real-time\n- `input`\n- `output`\n- `enable-cpu-formula` (bool): Enable CPU formula', default=True\n- `enable-dram-formula` (bool): Enable DRAM formula, default=True\n- `'cpu-rapl-ref-event` (str): RAPL event used as reference for the CPU power models, default='RAPL_ENERGY_PKG'\n- `'dram-rapl-ref-event` (str): RAPL event used as reference for the DRAM power models, default='RAPL_ENERGY_DRAM'\n- `'sensor-report-sampling-interval` (int): (for stream mode) The frequency with which measurements are made\n  (in milliseconds)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerapi-ng%2Frapl-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowerapi-ng%2Frapl-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerapi-ng%2Frapl-formula/lists"}