Home > Community > Forums > PCB SKILL > profile

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 profile  

Last post Mon, Sep 10 2007 11:10 PM by archive. 1 replies.
Started by archive 10 Sep 2007 11:10 PM. Topic has 1 replies and 1253 views
Page 1 of 1 (2 items)
Sort Posts:
  • Mon, Sep 10 2007 11:10 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    profile Reply

    Hi, everyone!
    To measure execution time, I used profile function.
    (profileReset(), profile('time), profileSummary(?file "./measure.txt")

    When I opend "measure.txt" file, I can see next message.

    Function Name             Total       Inside
    -------------------            -------       -------
    TOTAL CPU TIme(sec)   46.81       46.81
    gc                                 42.47       42.47
    toplevel                          4.34         0.00
    ReFsave                         4.06         0.00
    RefCheck                        3.73         0.19
    axlAirGap                        0.46         0.00
                       .....

    In my skill code, "ReFsave", "RefCheck" and axlAirGap functions were used.
    But I don't use gc functions.
    What thoes that mean?


    Originally posted in cdnusers.org by janggj
    • Post Points: 0
  • Tue, Sep 11 2007 7:00 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: profile Reply

    The gc function is Skill's Garbare Collection facility. If you believe this time is on the high
    side you may want to do the following:
    - skill lint your code and implement its suggestions
    - consult the performance section of the Skill User Manual
    - see if the code can implement the suggestions in
    http://cdnusers.org/community/allegro/Resources/resources_PCB/skill/TP_Skill_Farmer_04.pdf


    Originally posted in cdnusers.org by fxf
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 10 Sep 2007 11:10 PM. Topic has 1 replies.