Bug 11710 - ccache --show-stats should print when last zeroed
Summary: ccache --show-stats should print when last zeroed
Status: RESOLVED MOVED
Alias: None
Product: ccache
Classification: Unclassified
Component: ccache (show other bugs)
Version: 3.2.1
Hardware: All All
: P5 enhancement
Target Milestone: ---
Assignee: Joel Rosdahl
QA Contact: Joel Rosdahl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-03 23:33 UTC by mblythester+ccache
Modified: 2016-06-11 17:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mblythester+ccache 2016-02-03 23:33:29 UTC
Especially when sharing a ccache with other users in a large team environment, it can be difficult to know by whom or when the ccache stats were zeroed.  It would be nice for ccache to print this as part of the stats.  For instance:

$ccache -s
ccache stats since Wed Feb  3 18:28:42 EST 2016
cache directory                     /path/to/dir
primary config                      /path/to/dir/ccache.conf
secondary config      (readonly)    /usr/local/etc/ccache.conf
cache hit (direct)                   100
cache hit (preprocessed)             100
cache miss                            10
...
Comment 1 Joel Rosdahl 2016-06-11 17:00:42 UTC
Moved to https://github.com/ccache/ccache/issues/97.