Documentation of 'edu.rit.pj.test.Test12' Java class
Test12
edu.rit.pj.test

Class Test12



  • public class Test12
    extends java.lang.Object
    Class Test12 is a unit test main program for the SMP barrier functionality in package edu.rit.pj. The program obtains three numbers, N1, N2, and N3, from the command line. Then the program does the following:
     block = Array of N2 16-byte blocks
     for i = 0 to N1 - 1
         parallel for j = 0 to N2 - 1
             for k = 0 to N3 - 1
                 Encrypt block[j] using AES with an all-zero key
         barrier
     

    Usage: java -Dpj.nt=K edu.rit.pj.test.Test12 N1 N2 N3
    K = Number of parallel threads
    N1 = Number of outer loop iterations
    N2 = Number of middle loop iterations
    N3 = Number of inner loop iterations

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Unit test main program.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Unit test main program.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.