Hello @PAVZ
Windows Performance Monitor (perfmon) should do the job for you; you can configure it to log to a file, so just enable the counters you need and it'll log as much as you want.
Bsic Steps:
Start > Run > perfmon
Hit the plus sign next to Performance Logs and Alerts
Right click System Log and select properties.
Adjust the sampling times to whatever you like
When you are done, hit OK then the plus sign at the top of the window.
More details about usage and capabilities: https://techcommunity.microsoft.com/t5/ask-the-performance-team/windows-performance-monitor-overview/ba-p/375481
Hope this helps with your query,
--
--If the reply is helpful, please Upvote and Accept as answer--