示例#1
0
        public void BenchmarkIncrementByIn(int limit)
        {
            SixteenBitStructReadonly sixteenBitStruct = new SixteenBitStructReadonly();
            int counter = 0;

            do
            {
                IncrementIn(sixteenBitStruct);
                counter++;
            }while (limit != counter);
        }
示例#2
0
 private void IncrementByRef(ref SixteenBitStructReadonly sixteenBitStruct)
 {
     double sum = sixteenBitStruct.D1 + sixteenBitStruct.D2;
 }