{"id":50979979,"url":"https://github.com/qualcomm/libqcnpuperf","last_synced_at":"2026-06-19T13:01:54.550Z","repository":{"id":359089625,"uuid":"1237799543","full_name":"qualcomm/libqcnpuperf","owner":"qualcomm","description":"A Simple Lightweight NPU Metrics collection Library","archived":false,"fork":false,"pushed_at":"2026-05-20T10:40:03.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T13:53:50.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/qualcomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2026-05-13T14:17:22.000Z","updated_at":"2026-05-20T10:40:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qualcomm/libqcnpuperf","commit_stats":null,"previous_names":["qualcomm/libqcnpuperf"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/qualcomm/libqcnpuperf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Flibqcnpuperf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Flibqcnpuperf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Flibqcnpuperf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Flibqcnpuperf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qualcomm","download_url":"https://codeload.github.com/qualcomm/libqcnpuperf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Flibqcnpuperf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34532260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2026-06-19T13:01:53.573Z","updated_at":"2026-06-19T13:01:54.544Z","avatar_url":"https://github.com/qualcomm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libqcnpuperf\n\nlibqcnpuperf is a lightweight libary providing apis to collect NPU Metrics.\nThis library can be easily integrated into a simple console application or a profiling tools like NvTop or generate metrics for perfetto or integrate into CI loops or any other applications.\nThis library provides 3 simple apis.\nqcom_dsp_init()\nqcom_dsp_get_prof_data()\nqcom_dsp_deinit()\n\n## Branches\n\n**main**: Primary development branch. Contributors should develop submissions based on this branch, and submit pull requests to this branch.\n\n## Requirements\n\n ### System Requirements\n- Linux (Debian/Ubuntu)\n- Qualcomm platform with DSP/NPU support\n### Dependencies\nThis project depends on FastRPC for CPU ↔ DSP communication.\n\nInstall required package:\n\n```bash\nsudo apt update\nsudo apt install libfastrpc-dev\n```\n\n## Installation Instructions\n\n```bash\ngit clone https://github.com/qualcomm/libqcnpuperf.git\ncd libqcnpuperf\n```\n\n## Build Instructions\nThis project uses CMake.\n### 1. Create a build directory\n```bash\nmkdir -p build\ncd build\n```\n### 2. Configure\n```bash\ncmake ..\n```\n### 3. Build\n```bash\nmake -j$(nproc)\n```\n### 4. (Optional) Install\n```bash\nsudo make install\n```\n### Building without the ncurses sample\nIf you don't want the sample binary:\n```bash\ncmake -DQCNPU_PERF_BUILD_TUI=OFF ..\n```\n\n## Runtime Notes\nEnsure FastRPC is available:\n```bash\nls /dev/fastrpc*\n```\n\n## Usage\n\n```c\nqcom_dsp_init();\nqcom_dsp_get_prof_data(...);\nqcom_dsp_deinit();\n```\n\n## Development\n\nHow to develop new features/fixes for the software. Maybe different than \"usage\". Also provide details on how to contribute via a [CONTRIBUTING.md file](CONTRIBUTING.md).\n\n## License\n\nlibqcnpuperf is licensed under the [BSD-3-clause License](https://spdx.org/licenses/BSD-3-Clause.html). See [LICENSE.txt](LICENSE.txt) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualcomm%2Flibqcnpuperf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqualcomm%2Flibqcnpuperf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualcomm%2Flibqcnpuperf/lists"}