Add Get Timing

This commit is contained in:
Martin Sumner 2016-12-22 15:45:38 +00:00
parent 7a0cf22909
commit 676e8fa494
5 changed files with 71 additions and 28 deletions

View file

@ -739,9 +739,9 @@ timed_fetch_mem(Key, Hash, Manifest, L0Cache, L0Index, HeadTimer) ->
UpdHeadTimer =
case R of
not_present ->
leveled_log:head_timings(HeadTimer, SW, Level, not_present);
leveled_log:head_timing(HeadTimer, SW, Level, not_present);
_ ->
leveled_log:head_timings(HeadTimer, SW, Level, found)
leveled_log:head_timing(HeadTimer, SW, Level, found)
end,
{R, UpdHeadTimer}.