{"id":19389004,"url":"https://github.com/lemutec/presentmonfps","last_synced_at":"2025-06-13T19:33:58.506Z","repository":{"id":247412500,"uuid":"825778992","full_name":"lemutec/PresentMonFps","owner":"lemutec","description":"The PresentMon .NET Wrapper for calculating FPS.","archived":false,"fork":false,"pushed_at":"2024-08-14T11:32:30.000Z","size":598,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v2","last_synced_at":"2025-05-27T08:25:46.865Z","etag":null,"topics":["fps","game","presentmon"],"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/lemutec.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":"2024-07-08T13:32:25.000Z","updated_at":"2025-04-25T04:00:28.000Z","dependencies_parsed_at":"2025-01-07T08:47:13.905Z","dependency_job_id":"bbc80777-ab80-4d9a-9fd2-57b3bfacbcb5","html_url":"https://github.com/lemutec/PresentMonFps","commit_stats":null,"previous_names":["lemutec/presentmonfps"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/lemutec/PresentMonFps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemutec%2FPresentMonFps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemutec%2FPresentMonFps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemutec%2FPresentMonFps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemutec%2FPresentMonFps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemutec","download_url":"https://codeload.github.com/lemutec/PresentMonFps/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemutec%2FPresentMonFps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259707737,"owners_count":22899478,"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":["fps","game","presentmon"],"created_at":"2024-11-10T10:14:22.487Z","updated_at":"2025-06-13T19:33:58.447Z","avatar_url":"https://github.com/lemutec.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/lemutec/PresentMonFps/v2/src/Favicon.png\" width=\"80\"\u003e\n\n[![NuGet](https://img.shields.io/nuget/v/PresentMonFps.svg)](https://nuget.org/packages/PresentMonFps) [![Actions](https://github.com/lemutec/PresentMonFps/actions/workflows/library.nuget.yml/badge.svg)](https://github.com/lemutec/PresentMonFps/actions/workflows/library.nuget.yml) [![Platform](https://img.shields.io/badge/platform-Windows-blue?logo=windowsxp\u0026color=1E9BFA)](https://dotnet.microsoft.com/en-us/download/dotnet/latest/runtime)\n\n# PresentMonFps\n\nThe PresentMon .NET Wrapper for calculating FPS.\n\n## Installation\n\n**Nuget**：https://www.nuget.org/packages/PresentMonFps\n\n## Demo\n\n```c#\n// Check Available.\nif (!FpsInspector.IsAvailable)\n{\n    Console.WriteLine(\"This library is only available on Windows.\");\n    return;\n}\n\n// Simple method to get PID.\n// Fullname is unnecessary.\nuint pid = await FpsInspector.GetProcessIdByNameAsync(\"YourApp.exe\");\n\n// Calculate FPS Once.\nFpsResult result = await FpsInspector.StartOnceAsync(new FpsRequest(pid));\nConsole.WriteLine(result);\n\n// Calculate FPS Forever.\nawait FpsInspector.StartForeverAsync(new FpsRequest(pid), Console.WriteLine, null!);\n```\n\nSee more from [PresentMon.SampleWPF](https://github.com/lemutec/PresentMonFps/tree/v2/demo/PresentMon.SampleWPF) and [PresentMon.SampleConsole](https://github.com/lemutec/PresentMonFps/tree/v2/demo/PresentMon.SampleConsole).\n\n## Thanks to\n\n- https://github.com/GameTechDev/PresentMon\n\n## Licenses\n\n[MIT](https://github.com/lemutec/PresentMonFps/blob/v2/LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemutec%2Fpresentmonfps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemutec%2Fpresentmonfps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemutec%2Fpresentmonfps/lists"}