Skip to content

Commit

Permalink
FPS performance reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Jun 24, 2024
1 parent 388733a commit 900f057
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/genicam_fastcs/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def run(self, output):
print(
f"Transfered: {transferred_data} MB in {delta_t}s (expected {expected_t}s)"
)
print(f"Expected Speed: {FPS} FPS")
print(f"Measured Speed: {N_FRAMES/delta_t} FPS")
print(f"Expected Transfer Speed: {transferred_data/expected_t} MB/s")
print(f"Measured Transfer Speed: {transferred_data/delta_t} MB/s")

Expand Down

0 comments on commit 900f057

Please sign in to comment.