Created
April 20, 2022 13:41
-
-
Save Zalexanninev15/7f439beecb411f3e7b11d56acdb0bf21 to your computer and use it in GitHub Desktop.
Performance Time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private PerformanceCounter PCounter = new PerformanceCounter(); | |
// Your code | |
PCounter.Start();// Start measure | |
// Your code for measurements | |
double interval = PCounter.End(); // Result interval in seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment