nn::fs::SetAnalysisLog Function

Syntax

void SetAnalysisLog(
     bool enabled
);

Parameters

Name Description
in enabled Specify true to output.

Return Values

None.

Description

Enables/disables output of a log for analyzing file access.

The log is output in the format: [FS_ANALYSIS] [ms] (which is the time since the start of FS_ANALYSIS) Function name: Identifier: Function argument 1: Function argument 2 ...

The identifier is the unique value assigned to that file or directory from the moment it is opened until the moment it is closed. There is no duplicate of the corresponding file or directory while it is open, but once it is closed, the same identifier can be assigned to a different file or directory when it gets opened. If the process fails while open, 0 is output.

With the exception of paths (described below), the arguments are prepared and output in the order in which they appear in the function. If a path is included in an argument (for opening, renaming, etc.) it is output to the next line in the format: [FS_ANALYSIS] * pathname.

Revision History

2012/04/13
Initial version.

CONFIDENTIAL