Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 1507

Best way to calculate CPM for a checker?

by 4PEX - 25 August, 2020 - 06:00 AM
This post is by a banned member (4PEX) - Unhide
This post is by a banned member (Suspect) - Unhide
Suspect  
Registered
75
Posts
2
Threads
4 Years of service
#2
(This post was last modified: 25 August, 2020 - 02:10 PM by Suspect.)
Code:
public sealed class MutableInteger
    {
        private int value;
        public MutableInteger(int value)
            => this.value = value;
      
        public void Set(int value)
            => this.value = value;
      
        public int IntValue()
            => value;      
    }


bool isRunning;
int currentChecks;

private void GetRequestsPerMin()
        {          
            while (isRunning)
            {                                
                var MutableInt = new MutableInteger(currentChecks);
                MutableInt.Set(currentChecks);
                var currentValue = MutableInt.IntValue();


                Thread.Sleep(TimeSpan.FromMinutes(1));

                var reqPerMin = currentChecks - currentValue;                        
                              
            }
        }

 
This post is by a banned member (4PEX) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)