Пример #1
0
        public static void main(String[] args)
        {
            int array_size = 2000;

            if (args.Length > 0)
            {
                try
                {
                    array_size = Int32.Parse(args[0]);
                }
                catch (Exception e)
                {
                }
            }
            Linpack l = new Linpack(true);

            l.Bench(array_size);
        }
Пример #2
0
 public LinpackBenchmark(IWriter writer)
     : base(writer)
 {
     linpack = new Linpack(true);
     Ratio   = 10;
 }