duration

版本 1.0.0.0 (2.0 KB) 作者: Raymond Norris
Calculate the duration of a distributed job or individual task
1.0K 次下载
更新时间 2008/7/9

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 MATLAB Parallel Server 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0