Function rs2_create_rates_printer_block

Function Documentation

rs2_processing_block *rs2_create_rates_printer_block(rs2_error **error)

Creates a rates printer block. The printer prints the actual FPS of the invoked frame stream. The block ignores reapiting frames and calculats the FPS only if the frame number of the relevant frame was changed.

Parameters:

error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored