Accessing duration at runtime

Moderator: Moderators

Accessing duration at runtime

Postby » Tue Oct 24, 2017 10:31 am


I am trying to access the duration at runtime. At the end of a simulation, the console prints out how long the simulation took to run based on the duration constraints present in the diagram. I wanted to access that value and print it as the simulation was running. In the documentation I saw this comment, "If a behavior has a property or a structural feature value named 'duration', Cameo Simulation Toolkit will assign the duration value to that particular feature value at runtime."

I tried creating a property named duration in several ways but could not get it to work. I am fairly new to Cameo and making diagrams. I attached the project I was working on as a test.

In addition, I am able to create a Timeline Chart that displays how long each activity takes but is it possible to show how long function edges take to run?

Thank you,
You do not have the required permissions to view the files attached to this post.
Forum Newbie
Forum Newbie
Posts: 8
Posts Rating:2
Joined: Wed Sep 27, 2017 4:24 pm

Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 1 guest