Home |
RTKernel-32 Programming Manual Function RTPExcludeLines |
Function RTPExcludeLinesRTPExcludeLines excludes specific source file lines from profiling: void RTPExcludeLines(const char * FileName, UINT FirstLine, UINT Lines); ParametersFileNamePointer to a file name with no path information. This parameter must not be NULL. FirstLineThe first line number of the range of lines to be excluded from profiling. If this parameter is 0, all lines of the specified source file will be profiled. LinesThe number of source files lines starting at FirstLine to be excluded from profiling. If this parameter is 0, all lines of the specified source file will be profiled. When the profiler encounters a hit in a range of source file lines specified with this function, the call stack is unwound to find a function call statement, which is counted instead. RTPExcludeLines may be called any number of times before profiling is started but must be called after RTKLoadSymbols has been called. To undo all exclusions defined through RTPExcludeFiles and RTPExcludeLines and to revert to profiling all source files and lines, call RTPExcludeFiles(NULL);
|