{"id":20656691,"url":"https://github.com/platformlab/perfutils","last_synced_at":"2025-07-08T05:34:56.258Z","repository":{"id":38984312,"uuid":"44414503","full_name":"PlatformLab/PerfUtils","owner":"PlatformLab","description":"A collection of eclectic tools for measuring performance using the cycle counter and pinning threads.","archived":false,"fork":false,"pushed_at":"2019-04-16T06:02:53.000Z","size":189,"stargazers_count":32,"open_issues_count":3,"forks_count":15,"subscribers_count":12,"default_branch":"master","last_synced_at":"2023-08-20T10:10:50.796Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlatformLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-16T22:41:27.000Z","updated_at":"2023-06-18T19:02:51.000Z","dependencies_parsed_at":"2022-09-19T15:50:30.171Z","dependency_job_id":null,"html_url":"https://github.com/PlatformLab/PerfUtils","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatformLab%2FPerfUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatformLab%2FPerfUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatformLab%2FPerfUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatformLab%2FPerfUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlatformLab","download_url":"https://codeload.github.com/PlatformLab/PerfUtils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224951593,"owners_count":17397425,"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":[],"created_at":"2024-11-16T18:16:58.497Z","updated_at":"2024-11-16T18:16:58.918Z","avatar_url":"https://github.com/PlatformLab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Peformance Utilities\n\nPerfUtils is a low-overhead library for doing performance analysis of\nhighly-performant software systems running on x86\\_64.\n\n## How to Use It\n\n1. Clone the repository.\n\n        git clone https://github.com/PlatformLab/PerfUtils.git\n\n2. Build the library.\n\n        pushd PerfUtils\n        make\n        popd\n\n3. Instrument your application, including the header files for the utilities you would like to use, with a PerfUtils prefix.\n\n        #include \"PerfUtils/TimeTrace.h\"\n\n        using PerfUtils::TimeTrace;\n\n        int main(){\n           TimeTrace::record(\"Start of execution\");\n           uint64_t sum = 0;\n           for (int i = 0; i \u003c (1 \u003c\u003c 20); i++) {\n               sum += i;\n           }\n           TimeTrace::record(\"End of a counting loop\");\n           TimeTrace::record(\"Hello world\");\n           TimeTrace::print();\n        }\n\n\n4. Build and link against PerfUtils.\n\n        g++ -o Main -Ipath/to/PerfUtils/include -std=c++0x Main.cc  -Lpath/to/PerfUtils/lib -lPerfUtils\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatformlab%2Fperfutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplatformlab%2Fperfutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatformlab%2Fperfutils/lists"}