Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
This function is used to query profile data file information. Confirm that the model ID and iteration ID are specified during export.
During profile data parsing, the profile data file information is automatically displayed on the screen. Therefore, this function is optional in data parsing and is mainly used to query information about profile data files in the historically parsed PROF_XXX directories.
msprof --query=on --output=<dir>
Option |
Description |
Optional/Required |
|---|---|---|
--query |
Query of profile data file information. The value can be on or off (default).
After data parsing, you can use this option to query the basic information about profile data files. |
Required |
--output |
Directory for storing parsed profile data files. The value must be the PROF_XXX directory or the parent directory of the PROF_XXX directory, for example, /home/profiler_data/PROF_XXX. The path cannot contain the following characters: "\n", "\\n", "\f", "\\f", "\r", "\\r", "\b", "\\b", "\t", "\\t", "\v", "\\v", "\u007F", "\\u007F", "\"", "\\\"", "'", "\'", "\\", "\\\\", "%", "\\%", ">", "\\>", "<", "\\<", "|", "\\|", "&", "\\&", "$", "\\$", ";", "\\;", "`", "\\`". |
Required |
Set the directory for storing parsed profile data files to /home/profiler_data/PROF_XXX and enable the function of querying profile data files.
msprof --query=on --output=/home/profiler_data/PROF_XXX
Table 2 describes the information obtained by the query function of the msprof tool.
Field |
Description |
|---|---|
Job Info |
Job name. |
Device ID |
Device ID. |
Dir Name |
Folder name. |
Collection Time |
Data collection time. |
Model ID |
Model ID. |
Iteration Number |
Total number of iterations. |
Top Time Iteration |
Top five iterations with the longest time consumptions. |
Rank ID |
Node ID in the cluster scenario. |