How the Openbullet's CPM Calculation works?

Hey @Ruri and all Openbullet Users ,
I wanna know how the CPM (checks per minute) calculation logic works in the program. I am myself a coder and I was trying to build a web scraper but I can’t manage to make the CPM calculation as precise as it is shown in Openbullet.

Can someone give me the code for it or explain how its working and how can I implement it myself?

Thanks in advance.

CPM (checks per minute)
Checks divided by elapsed time (as seconds) multiplied by 60

Thanks for the reply. I know what CPM means but in OpenBullet it keeps updating regurarly and I tried what you said here but it does not give as precise results as the CPM in Openbullet

Share the code of your CPM calculation and how you use it. Also, please explain your problem further, wdym with “precise results”.