nsmcp::AccessRecordStoreSQLite method coveredBytes (public)

 <instance of nsmcp::AccessRecordStoreSQLite[i]> coveredBytes fid lo \
    hi

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

Count committed bytes overlapping a source interval. Intersect the interval with persisted coverage ranges. This is stored coverage, not a measurement of current source-file contents.

Parameters:
fid (required)
Stored source-file identifier.
lo (required)
Inclusive lower byte boundary.
hi (required)
Exclusive upper byte boundary.
Returns:
The number of covered bytes in the interval.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: