]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add optional perf counter nickname
authorJohn Spray <john.spray@redhat.com>
Tue, 3 Feb 2015 16:47:32 +0000 (16:47 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 5 Mar 2015 20:17:19 +0000 (20:17 +0000)
commitef0a7fe93be4af676392b6280d7005c38495b1b8
tree6fbd3f7f7f8e327ffc374ebb6c3149fdbe4447bf
parent5eb6e34ab7d60381cb748c57cc72e56245010397
common: add optional perf counter nickname

This has two purposes:

* Identify counters that are useful in short/summary views
  of a daemon's performance (only these have a nick set)
* Provide shortened versions of names that are suitable
  for display in a text-mode columnar view.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/perf_counters.cc
src/common/perf_counters.h
src/test/perf_counters.cc