]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: Add throttle_get_started perf counter 12163/head
authorBartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
Thu, 17 Nov 2016 16:26:28 +0000 (17:26 +0100)
committerBartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
Fri, 2 Dec 2016 12:32:10 +0000 (13:32 +0100)
commit8c93517067418c563d5a120d6600fc16685aaa4b
tree908de9258ab4049b6734c87a9ba6827089709ee9
parent3a9bcaa4aa6042587886c0eaae0ce4eeeb8f8164
common: Add throttle_get_started perf counter

This change adds 'get_started' performance counter which
is increased at the beginning of Throttle::get() call,
before any potential wait is started. It's purpose is
to measure in realtime the number of jobs waiting for the
throttle (get_started - get) and get the characteristic of
get cals before throttler does it's job.

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
src/common/Throttle.cc