Log / Read the worker´s uptime

Hey guys…
I have a mining rig and a gaming pc that mines if I dont use it. I wanted to know how many hours a week/ month my gaming pc is mining. for the rig that calculation is simple. 24 hours a day x 30 days a month…but my gaming pc`s online time varies hard. the pool logs this information and shows what miner is online and even shows a summary for the number of miners that mine. can I extract that information to know how many hours my “miner 2” made in december e.g.?

I tried to log the time where the mining.exe runs…but that´s very hard to make. then I thought, that the pool already has these information. so any idea? thx