-
Notifications
You must be signed in to change notification settings - Fork 666
Image block cache improvement #3138
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
base: develop
Are you sure you want to change the base?
Conversation
5bcd42a to
2816645
Compare
9aac66b to
6f8744c
Compare
d2612a0 to
02d22ba
Compare
|
Hi. I'm curious about the use of the C++ timers in here. Do you have thoughts on this, as to why they are being used, and what they are for? |
25f25e5 to
ff882c9
Compare
They're for collecting caching stats. |
ff882c9 to
5f4be20
Compare
|
But they just give wall time, right? Wouldn't CPU performance registers or os time functions be more accurate? |
CPU performance registers and os time functions don't measure wall clock time, which is what I want here. |
02ef442 to
7a49e97
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3138 +/- ##
===========================================
- Coverage 25.15% 25.13% -0.02%
===========================================
Files 149 150 +1
Lines 36969 36994 +25
Branches 7115 7116 +1
===========================================
- Hits 9297 9295 -2
- Misses 27672 27699 +27
|
7a49e97 to
105e30d
Compare
should be removed in a future release.
tsk_img_open_utf8_cache_opt is now tsk_img_open_utf8_cache and doesn't take an options argument. (The cache will have been created with one.)
a450b71 to
c64b34c
Compare
Replace the legacy cache used by
TSK_IMG_INFOwith a cache that has O(1) insertion and lookup.