Skip to content

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

Merged
Yuval-Ariel merged 1 commit into
mainfrom
312-print-wbm-cache-info-to-log
Dec 25, 2022
Merged

Yuval-Ariel merged 1 commit into
mainfrom
312-print-wbm-cache-info-to-log

Conversation

@udi-speedb

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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