• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Maestro - Elapsed time to results

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 125
  • Views 5544
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Maestro - Elapsed time to results

JeyJey
JeyJey over 3 years ago

Hi.
Is there a way to add elapsed time (time take to corner to run, I see it in log file) to results for test ?

Thank you in advance.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    See How to get resource usage and simulation run statistics displayed in the results tab in ADE Assembler or Explorer

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    See How to get resource usage and simulation run statistics displayed in the results tab in ADE Assembler or Explorer

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • ShawnLogan
    ShawnLogan over 3 years ago in reply to Andrew Beckett

    Dear Andrew and JacobG,

    You best me to a response Andrew -which is nothing new of course for you!!

    However, I will add that I use this feature in all my Explorer and Assembler runs. I've added the following lines to my .cdsint file:

    envSetVal("maestro.results" "enableRunStatisticInfoDisplay" 'boolean t)

    ; You can customize which items you would like to be displayed using
    ; the “defaultRunStatisticItems” environment variable like following:

    envSetVal("maestro.results" "defaultRunStatisticItems" 'string "memory,threads,jobId,host,startTime,endTime,elapsedTime")

    and an example of the resulting run statistics it produces in a set of Assembler simulations is shown in Figure 1.

    Shawn

    Figure 1

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • JeyJey
    JeyJey over 3 years ago in reply to Andrew Beckett

    It is a quest Slight smile .
    I found the .cdsinit file , but it "readonly".
    I tried to copy the file to work directory .
    But after I start virtuoso I get a message " WARNING: Identified $WORK_AREA_ROOT_DIR/.cdsinit file that may prevent vmac startup files from being loaded."

    And virtuoso starts with errors.

    After default (regular) virtuoso startup , I tried to run the command "envSetVal("maestro.results" "defaultRunStatisticItems" 'string "memory,threads,jobId,host,startTime,endTime,elapsedTime")" in CIW window , but also no any effect.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to JeyJey

    This error is not something that is in the Cadence code. It’s something in your local customisation which is presumably doing some extra checks and restrictions. You should speak to your CAD team or whoever manages your environment. 

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 3 years ago in reply to Andrew Beckett

    Dear JacobG,

    JeyJey said:
    I found the .cdsinit file , but it "readonly".
    I tried to copy the file to work directory .
    But after I start virtuoso I get a message " WARNING: Identified $WORK_AREA_ROOT_DIR/.cdsinit file that may prevent vmac startup files from being loaded."

    If it is of any help in diagnosing your issue, from your UNIX prompt in your working environment, try typing the following:

    $ cdswhich  .cdsinit 

    This should show you the location Virtuoso found for the .cdsinit file during its initialization process. For example, in my environment the command results in the following response:

    $ cdswhich  .cdsinit             
    Info (cdswhich): '.cdsinit' found at:
    ./.cdsinit
    $

    As is evident, it chose the version in my working directory. Normally, unless you have specified a specific file, the search order Virtuoso chooses is:

    1. <CDS_install_dir>/tools/dfII/local

    2. the current directory "."

    3. the home directory

    Make sure the .cdsinit file it is using is the one you modified to include the statistics command. The .cdsinit file in your current directory (i.e., your working directory) should not be a read-only file. I have a feeling Virtuoso is selecting the .cdsinit file from the install directory and hence the file is read-only.

    The help article at On-line support URL:

    support.cadence.com/.../ArticleAttachmentPortal

    provides a possible way to force the use of the .cdsinit file in your current working directory by starting Virtuoso without any .cdsinit file and then loading the version in your current working directory:

    (From URL:

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nafqEAA&pageName=ArticleContent)

    In case you do not want to load any other .cdsinit and want to load only HOME or CWD or any other ,cdsinit file you may also use the -nocdsinit and -replay options together for starting the virtuoso.

    UNIX>virtuoso -nocdsinit -replay .cdsinit

    This way -nocdsinit will not load any  other .cdsinit in search order and -replay will load the .cdsinit file from the Current working directory.

    I hope this provides a little help toward resolving your problem JacobG!

    Shawn

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • JeyJey
    JeyJey over 3 years ago in reply to Andrew Beckett

    I talked with our CAD support.
    TO add my commands to .cdsinit , I can create a file with name (not use name .cdsinit) , add there the line envSetVal(“maestro.results”   “defaultRunStatisticItems” ‘string "memory,threads,jobId,host,startTime,endTime,elapsedTime”) and than run virtuoso  with parameter "restore" : vmac -restore .cdsinit_yakov &

    But I still don't get the fields in the results .... 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to JeyJey

    First of all, you need to also have:

    envSetVal("maestro.results" "enableRunStatisticInfoDisplay" 'boolean t)

    in the file. If that doesn't work, then it's probably because this "vmac" command that you're using is not passing through the -restore to Virtuoso. Again, that's for your local CAD to deal with because vmac is not from us...

    As a workaround, you can go to Options->cdsenv editor in the CIW, search for enableRunStatistic and then turn on that option. 

    I'm also assuming you're using an IC version later than IC6.1.8.500.14 (or ICADVM20.1.500.14) because that's when it was introduced.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • JeyJey
    JeyJey over 3 years ago in reply to Andrew Beckett


    I see enableRunStatistic and defaultRunStatisticItems  in the cdsenv editor, it is looks turned on.

    No this option here and it doesn't appear after I run a test.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to JeyJey

    They should appear on the Results tab, not the Output setup tab. So your screenshot above is not very instructive.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • JeyJey
    JeyJey over 3 years ago in reply to Andrew Beckett

    It is the same there 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 3 years ago in reply to JeyJey

    Dear JacobG,

    I think the reason you are not seeing any of the run statistics displayed in the Results tab for your simulation is that all you did was enable the feature. If you look at the full set of commands I included in my earlier response post, there is a second command whose argument includes the specific run statistics to display. To repeat the prior entries from my .cdsint file:

     envSetVal("maestro.results" "enableRunStatisticInfoDisplay" 'boolean t)

    ; You can customize which items you would like to be displayed using ; the “defaultRunStatisticItems” environment variable like following:

    envSetVal("maestro.results" "defaultRunStatisticItems" 'string "memory,threads,jobId,host,startTime,endTime,elapsedTime")

    Did you try, or do you time to try, entering the boldfaced type command in your CIW after enabling the statistics feature and the re-run your simulation to examine the Results tab for that run to see if the run statistics are displayed with the outputs of your simulation (similar to what I showed in Figure 1 of my prior response)?

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information