nsmcp::CachedLogSearch method readSource (protected)

 <instance of nsmcp::CachedLogSearch[i]> readSource channel count

Defined in /usr/local/ns/tcl/nsmcp/log-summary.tcl

Parameters:
channel (required)
count (required)

Testcases:
No testcase defined.
Source code:
set started [clock clicks -microseconds]
set bytes [read $channel $count]
dict incr :scanPhases sourceRead [expr {max(0,[clock clicks -microseconds]-$started)}]
dict incr :scanIO sourceReadBytes [string length $bytes]
dict incr :scanIO sourceReadCalls
return $bytes
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: