]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Throttler: optionally disable use of perfcounters
authorGreg Farnum <greg@inktank.com>
Tue, 7 Jan 2014 17:43:28 +0000 (09:43 -0800)
committerGreg Farnum <greg@inktank.com>
Fri, 31 Jan 2014 23:54:40 +0000 (15:54 -0800)
commit03f7f771d6086a59ad37164471f3cda3ad564993
tree4d1dd3933fce16c2ada70cc6d26e0b7f4d97043d
parentee48c871d62d110d8113d95197fa26105e917582
Throttler: optionally disable use of perfcounters

These can be expensive enough that we want to disable them. We're already
mostly set up for it to be optional, so just plug in a config option and
move a timestamp read under the "if (logger)" guard to set it up!

Signed-off-by: Greg Farnum <greg@inktank.com>
src/common/Throttle.cc
src/common/config_opts.h