IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2013, 3:55:43 PM (13 years ago)
Author:
bills
Message:

print out the time that it takes to run pstamptool -addjob

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r35504 r35828  
    719719    if (!$no_update) {
    720720        # mode eq "queue_job"
     721        my $start_addjob = gettimeofday();
    721722        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    722723            run(command => $command, verbose => $verbose);
     
    728729            my_die("failed to queue job for request $req_id", $PS_EXIT_UNKNOWN_ERROR);
    729730        }
     731        my $dtime_addjob = gettimeofday() - $start_addjob;
     732        print "Time to addjob for row $rownum $dtime_addjob\n";
    730733    } else {
    731734        print "skipping command: $command\n";
Note: See TracChangeset for help on using the changeset viewer.