Exemple #1
0
        public void bmm_4x4_bench()
        {
            var opcount = RoundCount * CycleCount;
            var sw      = stopwatch(false);
            var last    = BitMatrix4.Zero;

            for (var i = 0; i < opcount; i++)
            {
                var m1 = Random.BitMatrix4();
                var m2 = Random.BitMatrix4();
                sw.Start();
                last = m1 * m2;
                sw.Stop();
            }
            Collect((opcount, snapshot(sw), "bmm_4x4"));
        }