Timer-Simple:小而简单的计时器(秒表)对象

时间:2021-06-09 12:55:10
【文件属性】:
文件名称:Timer-Simple:小而简单的计时器(秒表)对象
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-09 12:55:10
Perl 名称 Timer::Simple - 小而简单的计时器(秒表)对象 版本 版本 1.006 概要 use Timer::Simple (); my $t = Timer::Simple->new(); do_something; print "something took: $t\n"; # or take more control my $timer = Timer::Simple->new(start => 0, string => 'human'); do_something_before; $timer->start; do_something_else; print "time so far: ", $t->elapsed, " seconds\n"; do_a_little_more; print "time so far: ", $t->elapsed, " s
【文件预览】:
Timer-Simple-master
----.travis.yml(162B)
----README.mkdn(8KB)
----.mailmap(65B)
----t()
--------methods.t(3KB)
--------time.t(2KB)
--------functions.t(981B)
----LICENSE(18KB)
----.gitignore(22B)
----lib()
--------Timer()
----Changes(976B)
----dist.ini(169B)

网友评论