SystemRoutine – PB Docs 2017

SystemRoutine

PowerScript function

Description

Provides the routine node representing the system root in a
performance analysis model.

Applies to

Profiling object

Syntax

Argument

Description

instancename

Instance name of the Profiling object.

theroutine

A value of type ProfileRoutine containing the routine node
representing the system root. This argument is passed by
reference.

Return value

ErrorReturn. Returns one of the following values:

  • Success! — The function succeeded

  • ModelNotExistsError! — The function failed because no model
    exists

Usage

Use this function to extract the routine node representing the
system root in a performance analysis model. You must have previously
created the performance analysis model from a trace file using the
BuildModel function. The routine node is defined as a ProfileRoutine
object and provides the time spent in the routine, any called routines,
the number of times each routine was called, and the class to which the
routine belongs.

Examples

This example provides the routine that represents the system root in
a performance analysis model:

See also

BuildModel


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x