Changes between Version 2 and Version 3 of ParNCLDeveloperInfo/UsingNCLProfiler/ProfilingNCLScript
- Timestamp:
- 04/30/12 09:52:42 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ParNCLDeveloperInfo/UsingNCLProfiler/ProfilingNCLScript
v2 v3 1 1 = Creating a profile log = 2 If you enabled building the profiler while compiling NCL a profile log output file (named "<NCL USER SCRIPT NAME>.prof.log") is created when you run your NCL script. Note that the profile log output is not created if the user explicitly disables profiling at runtime (see [wiki:ParNCLDeveloperInfo/UsingNCLProfiler/ControlNCLProfiler Controlling the profiler at runtime]).2 If you enabled building the profiler ([wiki:ParNCLDeveloperInfo/UsingNCLProfiler/BuildingNCLProfiler Enabling Profiler at compile time]) while compiling NCL a profile log output file (named "<NCL USER SCRIPT NAME>.prof.log") is created when you run your NCL script. Note that the profile log output is not created if the user explicitly disables profiling at runtime (see [wiki:ParNCLDeveloperInfo/UsingNCLProfiler/ControlNCLProfiler Controlling the profiler at runtime]). 3 3 4 4 = Analyzing the profile log = … … 31 31 32 32 = Understanding the profile log output = 33 The profile log output shows the line number, time taken for executing the line , percentage of total time taken to execute the line and the NCL source for the line in different columns. The columns are color coded using a VIBGYOR color table such that lines that take within 10% of the median execution time of the lines is color coded as green. The lines that fall within 10% of the green lines are color coded as blue (if they take less time than the "green lines") and yellow (if they take more time than the "green lines") and so on.33 The profile log output shows the line number, time taken for executing the line (wall clock time), percentage of total time taken to execute the line and the NCL source for the line in different columns. The columns are color coded using a VIBGYOR color table such that lines that take within 10% of the median execution time of the lines is color coded as green. The lines that fall within 10% of the green lines are color coded as blue (if they take less time than the "green lines") and yellow (if they take more time than the "green lines") and so on. 34 34 35 35 For example, to see the heavy weight outliers w.r.t to execution time look for lines color coded as red in the XML output.