nsmcp::AccessRecordStoreSQLite method statsPhase (protected)

 <instance of nsmcp::AccessRecordStoreSQLite[i]> statsPhase publish \
    phase

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl

Parameters:
publish (required)
phase (required)

Testcases:
No testcase defined.
Source code:
set now [clock clicks -microseconds]
if {${:statsPhaseName} ne {}} {
    dict set :queryMetrics phaseMicroseconds ${:statsPhaseName}  [expr {$now-${:statsPhaseTicks}}]
}
set :statsPhaseName $phase
set :statsPhaseTicks $now
if {$phase ne {}} {
    accessScanProgress $publish $phase {files {} index 0 examinedBytes 0} {}
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: