このプロシージャは、特定のコードブロックのデバッグロギングと推定所要時間を提供します。これは、実行全体の開始と特定のブロックの開始という2つの必須TIMESTAMPパラメータを受け付けます。これにより、両方のTIMESTAMPからどれだけの時間が経過したかを推定することができます。さらに、このプロシージャは、以降の呼び出しで使用するために、現在のタイムスタンプを返します。
Parameters
Parameter | Description |
|---|---|
| Start timestamp of the whole process execution; mandatory |
| Start timestamp of the block; mandatory |
| Logging context to be appended to com.datavirtuality.connectors |
| Procedure name to identify the full procedure (default: the code) |
| Text to identify the small data block (default: the block) |
Attributes
Attribute | Type | Description |
|---|---|---|
| timestamp | Current timestamp (moment the procedure started) |
Example
DECLARE timestamp currentTime = ......currentTime = SELECT currentTime FROM UTILS.displayRuntime ( startTime => startTime, blockStartTime => currentTime, context => 'api.section.particularItems', procedureName => 'getApiSectionParticularItems', text => 'Starting data parsing...');