Add debug print statement to query_metrics for packet count in time range
This commit is contained in:
parent
deedca8d2f
commit
2a13eed6f9
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ class IndexedCapture:
|
||||||
|
|
||||||
def query_metrics(self, start_ts, end_ts, ap_bssid, ap_channel):
|
def query_metrics(self, start_ts, end_ts, ap_bssid, ap_channel):
|
||||||
packets = self.get_packets_in_time_range(start_ts, end_ts)
|
packets = self.get_packets_in_time_range(start_ts, end_ts)
|
||||||
|
print(f"[DEBUG] Packets in window: {len(packets)} between {start_ts} and {end_ts}")
|
||||||
|
|
||||||
# Use indexed data instead of recalculating
|
# Use indexed data instead of recalculating
|
||||||
clients_on_ap = self._count_clients_on_ap(packets, ap_bssid)
|
clients_on_ap = self._count_clients_on_ap(packets, ap_bssid)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue