Ignore:
Timestamp:
Jul 5, 2021, 3:17:12 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
11ad42f, e84ab3d
Parents:
b7763da
Message:

Added duration information (in nanoseconds) to EHM benchmarks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/code/ThrowFinally.java

    rb7763da ree23a8d  
    2323                }
    2424
     25                long startTime = System.nanoTime();
    2526                for (int count = 0 ; count < times ; ++count) {
    2627                        try {
     
    3031                        }
    3132                }
     33                long endTime = System.nanoTime();
     34                System.out.println("Run-Time (ns) " + (endTime - startTime));
    3235        }
    3336}
Note: See TracChangeset for help on using the changeset viewer.