duration

Calculate the duration of a distributed job or individual task
1K Downloads
Updated 9 Jul 2008

View License

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.

Cite As

Raymond Norris (2024). duration (https://www.mathworks.com/matlabcentral/fileexchange/20613-duration), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Parallel Server in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0