MCPcopy Create free account
hub / github.com/cosdata/cosdata / start_tracking

Method start_tracking

tests/test_hybrid.py:156–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self.lock = threading.Lock()
155
156 def start_tracking(self):
157 self.start_time = time.time()
158 self.query_times = []
159 self.total_queries = 0
160 self.failed_queries = 0
161
162 def record_query_batch(self, batch_size, batch_duration, failed_count=0):
163 with self.lock:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected