What is statistics in Xamarin profiler?

GeethaThangamGeethaThangam USMember ✭✭
edited July 10 in Profiler

I have created a simple Xamarin.Droid application which has a single Xamarin.forms.Button at the center of the screen.
Following is the Button click event handler.

private void Button_Clicked(object sender, EventArgs e)
    {
        System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch();
        stopwatch.Start();
        Console.WriteLine("Loop1 started: " + stopwatch.ElapsedMilliseconds);
        long loopCount = 1000000000;
        long temp = 0;
        for (long i = 0; i < loopCount; i++)
        {
            temp += 1;
        }
        stopwatch.Stop();
        Console.WriteLine("Loop1 ended: " + stopwatch.ElapsedMilliseconds);
}

I compiled and profiled this application in Xamarin time profiler. In the right pane, I see a tab with the title as statistics and there are some details captured under that tab. Can anyone please explain what data is listed here and how is it related to Time profiler?

Sign In or Register to comment.