Changes between Version 2 and Version 3 of ParNCLDeveloperInfo/UsingNCLProfiler/ProfilingNCLScript


Ignore:
Timestamp:
04/30/12 09:52:42 (11 years ago)
Author:
jayesh
Comment:

Adding link to build info and specifying that wall clock time is used for profiling

Legend:

Unmodified
Added
Removed
Modified
  • ParNCLDeveloperInfo/UsingNCLProfiler/ProfilingNCLScript

    v2 v3  
    11= 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]). 
     2If 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]). 
    33 
    44= Analyzing the profile log = 
     
    3131 
    3232= 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. 
     33The 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. 
    3434 
    3535For example, to see the heavy weight outliers w.r.t to execution time look for lines color coded as red in the XML output.