Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

ttrGetTime

ttrGetTime(
l_scopeName
)
=> l_timeData / nil

Description

Returns the accumulated tracking time data for the given scope.

Arguments

l_scopeName

Name of the scope for which the data is retrieved. A scope name can be a string or a list.

Value Returned

l_timeData

Returns the accumulated tracking time data for the given scope name in the following format:

(count CPU_Time list(totalElapsedTime minElapsedTime avgElapsedTime maxElapsedTime))

Where:

  • count: Number of times the given scope was activated. A scope can be made active multiple times.
  • CPU_Time: Total CPU time spent on the given scope.
  • totalElapsedTime: Total time spent on the given scope.
  • minElapsedTime: Minimum time spent on the given scope.
  • avgElapsedTime: Average time spent on the given scope.
  • maxElapsedTime: Maximum time spent on the given scope.

nil

The command failed to run.

Examples

Returns the accumulated time data for the given hierarchical scope named Move.

ttrGetTime(list("Layout" "Move"))
=>(1 -1.680776e+12 
    (71736.0 71736.0 71736.0 71736.0)
)

Related Topics

Time Tracker Functions


Return to top
 ⠀
X