{"id":20400498,"url":"https://github.com/ppekko/uniprofile","last_synced_at":"2025-09-24T02:32:20.888Z","repository":{"id":154636895,"uuid":"482548430","full_name":"ppekko/uniprofile","owner":"ppekko","description":"C++17 Cross platform profiler","archived":false,"fork":false,"pushed_at":"2023-06-15T20:56:54.000Z","size":209,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T04:41:34.753Z","etag":null,"topics":["header-only","profiler"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ppekko.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-17T14:39:42.000Z","updated_at":"2022-06-04T22:44:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff993414-7b0d-4727-b981-cdfb891a39aa","html_url":"https://github.com/ppekko/uniprofile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppekko%2Funiprofile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppekko%2Funiprofile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppekko%2Funiprofile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppekko%2Funiprofile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppekko","download_url":"https://codeload.github.com/ppekko/uniprofile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234029416,"owners_count":18768461,"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":["header-only","profiler"],"created_at":"2024-11-15T04:40:45.893Z","updated_at":"2025-09-24T02:32:20.525Z","avatar_url":"https://github.com/ppekko.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# uniprofile\n\nA C++17 Header-Only, crossplatform and easy to implement profiler for applications.\nLicensed under the MIT license.\n\n[Download here.](https://github.com/pipe/uniprofile/blob/master/include/uniprofile.h)\n\n\n\n\n# Usage\nAs detailed in the header itself, make sure to define `#define UNIPROFILER_IMPLEMENTATION` before including it to create the implementation. (also define `#define UNIPROFILER_DEBUGTEXT` for debug text).\n\nAs for code, you will need to set a callback to a function that will return the time in seconds with `.setTimerFetchCallBack()` (such as `glfwGetTime()`). Then at any point in the program, you can start profiling a function/process with `.startProfile()` and `.endProfile()`. You can the name of the profile as an argument (make sure they are the same in both functions!).\n\nTo dump all the profiling info into a file, run `.dumpAllProfiles()`, with the file location being the argument.\n\n[You can view the example project to get a better understanding on how to implement this library](https://github.com/ppekko/uniprofile/blob/master/example/)\n\n# Why C++17\nim lazy and i dont want to implement my own sorting algorithm, so im using std::sort.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppekko%2Funiprofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppekko%2Funiprofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppekko%2Funiprofile/lists"}