Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print WBM's cache info to log (#312) #313

Merged
merged 1 commit into from
Dec 25, 2022

Conversation

udi-speedb
Copy link
Contributor

No description provided.

@udi-speedb udi-speedb force-pushed the 312-print-wbm-cache-info-to-log branch from 717f26e to 89b2e7c Compare December 25, 2022 12:43
@udi-speedb udi-speedb linked an issue Dec 25, 2022 that may be closed by this pull request
cache_res_mgr_.get())
->TEST_GetCache();
}
snprintf(buffer, kBufferSize, "%*s: %p\n", field_width, "wbm.cache", cache);
Copy link
Contributor

Choose a reason for hiding this comment

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

whats field_width exactly? last time you increased this value..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's set so the printing of the wbm fields will be right-adjusted properly, as seen here:

Screenshot from 2022-12-25 16-42-45

@Yuval-Ariel Yuval-Ariel merged commit 9ae26fb into main Dec 25, 2022
@Yuval-Ariel Yuval-Ariel deleted the 312-print-wbm-cache-info-to-log branch May 11, 2023 08:28
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.

WBM: Print to the log info about WBM's cost to cache
2 participants