Bigio.BigArray.JITO.MeasureManager.MeasureMethod C# (CSharp) Метод

MeasureMethod() публичный статический Метод

public static MeasureMethod ( object context, MethodInfo method, object argumentArray ) : long
context object
method System.Reflection.MethodInfo
argumentArray object
Результат long
        public static long MeasureMethod(object context, MethodInfo method, object[] argumentArray)
        {
            Stopwatch stopwatch = new Stopwatch();
            stopwatch.Start();

            method.Invoke(context, argumentArray);

            stopwatch.Stop();
            return stopwatch.ElapsedMilliseconds;
        }

Same methods

MeasureManager::MeasureMethod ( MethodInfo method, object argumentArray ) : long
MeasureManager