如果脚本要花费一些时间执行,那或许应在执行脚本的开始和结束的地方打印时间。
If the script is going to take more than few seconds to execute, you may want to print the date at the beginning and at the end of the execution of the script.
这里包装器方法只是保存当前时间,然后调用改名后的原方法,并在返回调用原方法的结果之前打印时间报告。
Here the wrapper method just saves the current time, then calls the renamed original method and prints a time report before returning the result of the call to the original method.
许多航空公司现在允许乘客在线打印登机牌,以节省宝贵的时间。
Many airlines now allow passengers to print their boarding passes online to save their valuable time.
还可能需要时间来协商一个特定的户外广告位置的空间,打印海报,或油漆公告板。
It may also take time to negotiate for the space for a specific outdoor advertising location, to print the posters, or to paint the board.
按照它的使用速度,这台打印机将撑不过今年剩下的时间。
At the rate it is being used, the printer is not going to make it through the rest of the year.
问题是我对3D打印几乎一无所知,而且我只有9个月的时间来弄清楚如何打印出5种时髦的造型。
The problem was that I barely knew anything about 3D printing, and I had only nine months to figure out how to print five fashionable looks.
我的秘书花了很长时间将我那几乎辨别不清的书写稿转换成打印的、字迹清晰的文稿。
My secretary worked long hours translating my almost illegible writing into a typewritten and readable script.
电子邮件帮人们省去了打印、折叠信件并放进信封的时间和麻烦。
Email saved the time and trouble of printing letters, folding them up and putting them in envelopes.
如果着听起来你有什么想法,那么就拿出日历,或者用你的电脑打印一份,然后开始计划在下一段时间里你每天都想吃什么。
If this sounds like something you might like, pull out a calendar or print one off your computer and start planning out what you want to make for meals each day.
如果最新音调队列检查和连续音调检查都通过,就记录音调事件及其时间以供稍后打印或比较。
If both the recent tones queue check and the contiguous tone check are passed, record the tone event and its time for later printing or comparison.
在样例服务实现中,我们要确保,每个函数所需的执行时间最少是一秒,而且在执行的同时打印出一些消息。
In the sample service implementation, we make sure that, each function's execution time requires at least one second and it will print out some message while being executed.
假如你没有时间去阅读这篇文章的话,你可以将它添加到书签或干脆打印下来。
If you don't have time to read it now, feel free to bookmark it or print it out for later.
该程序将流程模板的名称作为命令行参数,并且打印出了所有相对应的流程实例的启动时间。
The program takes the name of a process template as a command line parameter and prints out start times of all of the corresponding process instances.
清单6生成实际计算开始时间后经过的毫秒数,并作为编排好格式的消息打印出来的代码。
Listing 6 generates the code to actually compute the number of milliseconds elapsed since the start time, and to print it out as a nicely formatted message.
虽然你的医生可能对于你努力教育自己,了解病情很欣赏,但他没有时间读你打印的从十多个不同的网站找到的资料。
Although your doctor may appreciate the fact that you are making the effort to educate yourself on your condition, he doesn't have time to read printouts from a dozen different Web sites you found.
我花了很多时间在打印这封信上。
而实际发生的则是,在20世纪的最后20年的时间里,由于电子技术使打印更廉价,也更方便,所以办公室纸张的消耗翻了一番不止。
What actually happened was that global consumption of office paper more than doubled in the last two decades of the 20th century, as digital technology made printing cheaper and easier.
打印时不再需要保存聊天,当打印聊天时,聊天记录中包括的所有内容都会打印出来,比如时间戳和系统消息。
You no longer need to save a chat to print it, and when you print a chat, everything included in the chat transcript is included, such as time stamps and system messages.
付款所花的时间比扫描显著更少,并且打印所花的时间比付款或扫描更少。
Payment takes significantly less time than scanning, and printing takes less time than payment or scanning.
添加的代码只是将开始时间保存为局部变量,然后在方法结束时计算持续时间并打印到控制台。
The added code just saves the start time to a local variable, then computes the elapsed time at the end of the method and prints it to the console.
这种非墨水打印的字,会在一段时间之后消失,时间长短由你随便控制。
So this is a non-ink based print that disappears in a time frame that you can program, hours, days whatever.
使用这些旧合同可以为你节省时间和避免打印错误,不过,用这些合同范本时别忘了替换掉老客户的名字。
Just remember to find and replace the old client's name. Starting with an existing form saves time and avoids the errors of typing.
我们使用了一个数码的白板,我们可以在这个数码白板上保存和打印被画出的图,这是非常节省时间的。
We used a digital whiteboard that could save and print diagrams drawn on it, which was a wonderful timesaver.
自即日起,考生可登录报名网站重新下载打印标有新调整时间的考试确认信。
Candidates can logon to your profile and download renewed confirmation letters with new time.
例如,Get - Date命令表面上来看,只是简单的打印出当前的日期和时间,但实际上它返回的是一个DataTime类型的对象,这个对象是。NET框剪的一部分。
For example, the Get-Date command on the surface may appear to just print out the current date and time. But in fact, it returns an object of type DateTime, which is part of the.net framework.
首先,需要延迟打印每个方法调用的“进入”线(“entering”line),直到可以确定所用的时间足以使它通过我的筛选器。
First, I need to delay printing the "entering" line for each method call until I can see if the time taken is enough to make it through my filter.
对stop方法的调用记录了执行时间并打印日志信息。
The call to the stop method records the execution time and prints a log message.
我们使用sleep命令将显示推迟两秒,然后使用date命令打印当前的日期和时间。
We use the sleep command to cause a delay for two seconds, and use the date command to print the current date and time.
如果我们保留最大超时长度为4秒,那么程序运行到这个时间时就会结束,并打印当前输入的敲打序列。
If you leave the maximum timeout length at four, the program will end and print your currently entered knock sequence.
如果我们保留最大超时长度为4秒,那么程序运行到这个时间时就会结束,并打印当前输入的敲打序列。
If you leave the maximum timeout length at four, the program will end and print your currently entered knock sequence.
应用推荐