nsmcp::LogService object method updateTiming (public)
nsmcp::LogServiceupdateTiming recordVar sliceStarted [ finished ] \ [ now ]
Defined in /usr/local/ns/tcl/nsmcp/log-tools.tcl
Update elapsed and worker timing on a background job. Elapsed time includes queueing and gaps between slices. Worker time includes I/O and SQL waits.
- Parameters:
- recordVar (required)
- Caller variable containing the job record to update.
- sliceStarted (required)
- Start time in milliseconds, or empty for a snapshot.
- finished (optional, defaults to
"false")- Whether this update marks the job finished.
- now (optional)
- Optional observation time in milliseconds.
- Returns:
- No meaningful value. The caller’s record is updated in place.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)