- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::nsmcp::LogScanMetrics
::nsmcp::LogScanMetricscreate ...
Defined in /usr/local/ns/tcl/nsmcp/log-01-scanner.tcl
Class Relations
::nx::Class create ::nsmcp::LogScanMetrics \ -superclass ::nsmcp::ObjectMethods (to be applied on the object)
jsonFields (scripted, public)
nsmcp::LogScanMetricsjsonFields metrics
Convert internal scan metrics to typed JSON members. Encode numeric diagnostics only; source bytes and messages never enter here.
- Parameters:
- metrics (required)
- Testcases:
- No testcase defined.
set phases {} dict for {key value} [dict get $metrics phaseMicroseconds] { lappend phases $key number $value } set io {} dict for {key value} [dict get $metrics io] { lappend io $key number $value } return [list scope string [dict get $metrics scope] totalMicroseconds number [dict get $metrics totalMicroseconds] phaseMicroseconds object $phases io object $io]
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)