AbsoluteTiming

AbsoluteTiming[expr]

计算 expr,返回一个实际过去时间的绝对秒数列表以及获得的结果.

更多信息

范例

基本范例  (2)

获得计算所用的总时间:

Timing 仅报告 CPU 所用的时间:

AbsoluteTiming 考虑所有时间,包括需要时从互联网获得数据所用的时间:

第二次运行时更快,因为数据已经保存,可以立即重新调用:

Wolfram Research (2003),AbsoluteTiming,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AbsoluteTiming.html.

文本

Wolfram Research (2003),AbsoluteTiming,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AbsoluteTiming.html.

CMS

Wolfram 语言. 2003. "AbsoluteTiming." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/AbsoluteTiming.html.

APA

Wolfram 语言. (2003). AbsoluteTiming. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/AbsoluteTiming.html 年

BibTeX

@misc{reference.wolfram_2024_absolutetiming, author="Wolfram Research", title="{AbsoluteTiming}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/AbsoluteTiming.html}", note=[Accessed: 14-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_absolutetiming, organization={Wolfram Research}, title={AbsoluteTiming}, year={2003}, url={https://reference.wolfram.com/language/ref/AbsoluteTiming.html}, note=[Accessed: 14-November-2024 ]}