Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903183

Log start time for every action

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jtreg7.0
    • jtreg6.1
    • tools
    • None

      Sometimes the elapsed times in jtreg logs don't add up. In one case the sum of all lines containing "elapsed time (seconds)" was about 40 seconds, and the overall elapsed time was 3 minutes 40 seconds.

      In order to find where the time is spent, we could log start or end time (or both) for every action in addition to elapsed time.

      We are already collecting the start time (used in calculation of elapsed time):
      https://github.com/openjdk/jtreg/blob/c415cd0d5edd55204bac9dc6b10a65083e3b011d/src/share/classes/com/sun/javatest/regtest/exec/Action.java#L401
      so this is just a matter of logging that information.

            jjg Jonathan Gibbons
            djelinski Daniel Jelinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: