Skip to content

Fw logger tool adding sleep - #7619

Merged
ev-mp merged 17 commits into
realsenseai:developmentfrom
remibettan:fw-logger-tool-adding-sleep
Nov 1, 2020
Merged

Fw logger tool adding sleep#7619
ev-mp merged 17 commits into
realsenseai:developmentfrom
remibettan:fw-logger-tool-adding-sleep

Conversation

@remibettan

@remibettan remibettan commented Oct 20, 2020

Copy link
Copy Markdown
Contributor

Adding a sleep between each fw log polling.
Default value is hardcoded in the tool's code.
This can be also input by the user using -s <sleep_in_ms>

Triggered by Jira DSO-15939

Comment thread tools/fw-logger/readme.md Outdated
Comment thread tools/fw-logger/rs-fw-logger.cpp Outdated

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specify DSO for tracking

Comment thread include/librealsense2/h/rs_internal.h Outdated
Comment thread include/librealsense2/h/rs_internal.h Outdated
Comment thread include/librealsense2/hpp/rs_internal.hpp Outdated
Comment thread include/librealsense2/hpp/rs_internal.hpp Outdated
Comment thread src/android/jni/fw_logger.cpp Outdated
Comment thread src/firmware_logger_device.cpp Outdated
Comment thread src/fw-logs/fw-log-data.cpp Outdated
Comment thread src/rs.cpp Outdated
{
VALIDATE_NOT_NULL(dev);

auto fw_loggerable = VALIDATE_INTERFACE(dev->device, librealsense::firmware_logger_extensions);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fw_loggerable -> fw_logger
Return unsigned

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fw_loggerable ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done - changed in multiple methods in this file

Comment thread src/rs.cpp Outdated
Comment thread wrappers/python/pyrs_internal.cpp Outdated
Comment thread src/rs.cpp Outdated
{
VALIDATE_NOT_NULL(dev);

auto fw_loggerable = VALIDATE_INTERFACE(dev->device, librealsense::firmware_logger_extensions);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fw_loggerable ?

Comment thread tools/fw-logger/rs-fw-logger.cpp Outdated
Comment thread wrappers/python/pyrs_internal.cpp Outdated

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ev-mp
ev-mp merged commit c69c79c into realsenseai:development Nov 1, 2020
@remibettan
remibettan deleted the fw-logger-tool-adding-sleep branch March 15, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants