{"id":26446536,"url":"https://github.com/djoezeke/cprofiler","last_synced_at":"2025-06-11T05:04:24.200Z","repository":{"id":282494027,"uuid":"946763050","full_name":"djoezeke/CProfiler","owner":"djoezeke","description":"A Realtime Sample Call Stack and Performance Profiling Library for C/C++.","archived":false,"fork":false,"pushed_at":"2025-04-18T01:49:47.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T05:03:59.292Z","etag":null,"topics":["analysis","c","cpp","development","library","performance","profiler","profiling"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/djoezeke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-11T16:29:48.000Z","updated_at":"2025-04-18T01:49:51.000Z","dependencies_parsed_at":"2025-06-11T05:04:01.103Z","dependency_job_id":null,"html_url":"https://github.com/djoezeke/CProfiler","commit_stats":null,"previous_names":["djoezeke/cprofiler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djoezeke%2FCProfiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djoezeke%2FCProfiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djoezeke%2FCProfiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djoezeke%2FCProfiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djoezeke","download_url":"https://codeload.github.com/djoezeke/CProfiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djoezeke%2FCProfiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259204801,"owners_count":22821159,"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":["analysis","c","cpp","development","library","performance","profiler","profiling"],"created_at":"2025-03-18T12:18:13.752Z","updated_at":"2025-06-11T05:04:24.189Z","avatar_url":"https://github.com/djoezeke.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CProfiler\n\n## Features:\n\n- Lightweight instrumentation\n- Multiple threads Support.\n- Console output for logging text.\n- Profiles itself.\n\n## Basic Usage\n\n```c\n#include \"../cprofiler.h\"\n\nvoid Function(Profiler *prof)\n{\n    START(prof);\n    usleep(200);\n    STOP(prof);\n}\n\nvoid Function1(Profiler *prof)\n{\n    START(prof);\n    sleep(1);\n    STOP(prof);\n}\n\nvoid Function2(Profiler *prof)\n{\n    START(prof);\n    sleep(1);\n    STOP(prof);\n}\n\nint main()\n{\n    Profiler *prof = newProfiler(\"Profiler\");\n\n    Function1(prof);\n    Function2(prof);\n    Function2(prof);\n\n    prof-\u003eProfile(prof);\n\n    freeProfiler(prof);\n    return 0;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjoezeke%2Fcprofiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjoezeke%2Fcprofiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjoezeke%2Fcprofiler/lists"}