现在您可以搜集分析数据了,但是您应该在什么地方打开或关闭您的跟踪输出文件呢?
Now you can collect profiling data, but where do you open and close your trace output file?
这是非常有意义的,因为内核跟踪打开文件的信息。
This makes sense, because the kernel keeps track of the open file's information.
如果您指定任意命令行参数,跟踪将打开,跟踪消息将被写入当前目录中的一个临时文件。
If you specify any command line parameters, tracing will be turned on and trace messages will be written to a temporary file in the current directory.
当我们存在一些潜在的执行缓慢的代码时,我们不再能够打开我们的简单的PHP文件,从上到下的跟踪它的执行。
So we've got potentially slower code, and we can no longer just open up our simple PHP script and follow its execution from the top of the file to the bottom.
这意味着您可以使用自己的EMF插件集来打开和分析任何DB2跟踪文件。
This means that you can open and analyze any of your DB2 trace files using your set of EMF plug-ins.
打开DB2跟踪文件之后,EMF插件会将一个树形结构中显示其内容。
When you open a DB2 trace file, the EMF plug-ins visually render its content in a tree view.
DB2跟踪文件包含 DB2连接、语句、已打开但从未关闭的结果集的列表。
The DB2 trace file contains a list of the DB2 connections, statements, and result sets that have been opened, but never closed.
这在不跟踪名称的fakeroot中是不需要的,因此不用关心文件打开的问题。
This wasn't needed in fakeroot, which didn't track names, and thus didn't care about file opening.
通过打开DOS窗口,将路径改为工程所在位置,同时键入atlsplitatlout.spt 将跟踪文件拆分
Split the trace file by opening up a DOS window, changing to the directory where the project resides, and typing atlsplit atlout.spt
在constructor函数中,会打开一个新的跟踪文件,分析数据的地址跟踪就是写入这个文件的;在destructor函数中,会关闭这个跟踪文件(参见清单3)。
In the constructor function, a new trace file is opened into which the profiling address trace will be written; within the destructor function, the trace file is closed (see Listing 3).
在查看报告时,您必须打开相应的静态文件(. tsf)或者跟踪文件(.tdf),这些依赖于您为工程所选的覆盖类型。
When you view the reports, you also have to open the corresponding static file (.tsf) or trace file (.tdf), depending on the type of coverage you selected for the project.
要在特性和用例之间创建跟踪,请打开useCases文件夹中的Use CasesTracedtoFeatures视图。
To create a trace between features and use cases, open the use cases Traced to features view in the use cases folder.
要在特性和用例之间创建跟踪,请打开useCases文件夹中的Use CasesTracedtoFeatures视图。
To create a trace between features and use cases, open the use cases Traced to features view in the use cases folder.
应用推荐