Skip to content

Commit

Permalink
collect memory and disk fetch counts
Browse files Browse the repository at this point in the history
Summary: This adds counters for memory and disk counts in addition to import count so that we can understand cache hit rates during local investigation or output this in ActivityRecorder.

Reviewed By: genevievehelsel

Differential Revision: D29805637

fbshipit-source-id: 34261f91c33d6bd4bcb4b85b17d2e68360410896
  • Loading branch information
Zhengchao Liu authored and facebook-github-bot committed Jul 22, 2021
1 parent 8b331ce commit 84767c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eden/fs/service/eden.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,8 @@ struct AccessCounts {
3: i64 fsChannelWrites;
4: i64 fsChannelBackingStoreImports;
5: i64 fsChannelDurationNs;
6: i64 fsChannelMemoryCacheImports;
7: i64 fsChannelDiskCacheImports;
}

struct MountAccesses {
Expand Down

0 comments on commit 84767c0

Please sign in to comment.