Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10606

Document use of LD_PROFILE

    Details

    • Templates:
    • Team:
      External

      Description

      I recently discovered a new means of doing C++ profiling, using tools that should be available on any Linux distro:

      LD_PROFILE=libmeas_modelfit.so LD_PROFILE_OUTPUT=`pwd` measureCoaddSources.py /scratch/pprice/ci_hsc-copy/DATA --rerun ci_hsc --id patch=5,4 tract=0 filter=HSC-I
      sprof -p -q libmeas_modelfit.so libmeas_modelfit.so.profile > libmeas_modelfit.so.profile.txt
      

      This should be documented in the Developer's Guide under Profiling.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                price Paul Price
                Reporter:
                price Paul Price
                Reviewers:
                Jonathan Sick
                Watchers:
                Jonathan Sick, Paul Price
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel