呼ばれたプログラムの実行時間

PROFILE指令でコンパイルされたプログラムが CALLされたとき、この実行時間をランタイムシステムがどのように取り扱うかは、実行時構成変数 profile_behavior の値によって変わります。この構成変数はプロファイルしたいプログラムを実行するときに設定します。

profile_behavior 構成変数が省略値の 0 に設定されている場合、CALLされたプログラムの実行時間はそれを CALLしたプログラムの実行時間にも加算されます。

profile_behavior 構成変数が 1 に設定されている場合、CALLされたプログラムの実行時間はそれを CALLしたプログラムの実行時間には加算されません。

For example, suppose program prog_a calls program prog_c. prog_a is a profiled COBOL program. Then:

If prog_a actually calls prog_b, which calls prog_c, and prog_b is not a profiled COBOL program, then time in prog_b is always recorded in prog_a, while time in prog_c is recorded as explained above.