diff --git a/build/bytetrack-counter b/build/bytetrack-counter index 16d9ec5..77f70e4 100755 Binary files a/build/bytetrack-counter and b/build/bytetrack-counter differ diff --git a/src/batch_store.cpp b/src/batch_store.cpp index bfa5326..f449e5f 100644 --- a/src/batch_store.cpp +++ b/src/batch_store.cpp @@ -287,9 +287,12 @@ bool BatchStore::record_talenan_crossing(int track_id) { duration_sec = std::chrono::duration_cast(end_tp - start_tp).count(); } std::ostringstream msg; - msg << "Batch closed by talenan crossing" + int bn = current_state_["batch_number"].get(); + double cps = duration_sec > 0 ? static_cast(count) / duration_sec : 0.0; + msg << "Batch #" << bn << " ended" << " | count=" << count << " | duration=" << duration_sec << "s" + << " | cps=" << std::fixed << std::setprecision(2) << cps << " | start=" << start_time << " | end=" << end_time; logger_(msg.str());