Code covered by the BSD License  

Highlights from
duration

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 2.02 KB File ID: #20613

duration

by

 

08 Jul 2008 (Updated )

Calculate the duration of a distributed job or individual task

| Watch this File

File Information
Description

Takes a distributed job or task and computes the duration from create time to finish time. If the job or task has not finished, it calculates to the current time. For example:

time = duration(job);
duration(job.Task(1))
  515 seconds

Although this was tested with R2008a and the MathWorks Job Manager, it ought to work with past releases and other schedulers.

Required Products Parallel Computing Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us