dbGetHierCacheUsage
dbGetHierCacheUsage( [d_cvId] ) =>t_usageType/ nil
Description
Returns the current hierarchical cache usage for a given design, if specified. If not specified, it returns the usage for the current session. The subset of operations included in both the design and session usages is enabled for the design.
Arguments
|
Database ID of the cellview that may be using a hierarchical cache. If specified, the cache usage for that cellview is returned. Otherwise, the session cache usage is returned. |
Value Returned
Example
Returns the cache usage for the session:
dbSetHierCacheUsage("saveOnly")
dbGetHierCacheUsage()
=> "saveOnly"
Returns the cache usage for the cellview:
cv = dbOpenCellViewByType("test" "hierTop" "layout" "maskLayout" "a")
dbSetHierCacheUsage("saveAndLoad" cv)
dbGetHierCacheUsage(cv)
=> "saveAndLoad"
Related Topics
Return to top