def time_callable(self, name, target, rate=None, args=(), kwargs={}):<EOL>
assert callable(target)<EOL>if rate is None:<EOL><INDENT>rate = self._rate<EOL><DEDENT>else:<EOL><INDENT>assert_sample_rate(rate)<EOL><DEDENT>start_time = time()  <EOL>result = target(*args, **kwargs)<EOL>self.since(name, start_time, rate)<EOL>return result<EOL>
Send a Timer metric calculating duration of execution of the provided callable