***Generating Command Line:
reset; echo Calls To get_stats: > listofcalltostatslatencies.txt; grep -PRieget_stats() ./* | grep -v _darcs | tee -a listofcalltostatslatencies.txt; echo Calls to get_latencies: >> listofcalltostatslatencies.txt; grep -PRieget_latencies() ./* | grep -v _darcs | tee -a listofcalltostatslatencies.txt

***Calls To get_stats:
./src/allmydata/web/status.py:        return self.helper.get_stats()
./src/allmydata/web/status.py:            stats = self.helper.get_stats()
./src/allmydata/web/status.py:            stats = self.provider.get_stats()
./src/allmydata/web/status.py:        return self.provider.get_stats()
./src/allmydata/web/root.py:            stats = ss.get_stats()
./src/allmydata/web/root.py:            stats = self.client.helper.get_stats()
./src/allmydata/web/storage.py:        d = {"stats": self.storage.get_stats(),
./src/allmydata/web/storage.py:        # to use get_stats()["storage_server.disk_total"] . However,
./src/allmydata/web/storage.py:                   for k,v in self.storage.get_stats().items() ])
./src/allmydata/web/check_results.py:        data["stats"] = res.get_stats()
./src/allmydata/web/check_results.py:        data["stats"] = res.get_stats()
./src/allmydata/interfaces.py:    def get_stats():
./src/allmydata/interfaces.py:    def get_stats():
./src/allmydata/interfaces.py:    def get_stats():
./src/allmydata/interfaces.py:    def get_stats():
./src/allmydata/stats.py:            stats.update(sp.get_stats())
./src/allmydata/stats.py:        log.msg(format='get_stats() -> %(stats)s', stats=ret, level=log.NOISY)
./src/allmydata/stats.py:        return self.get_stats()
./src/allmydata/stats.py:        log.msg("StatsGatherer: error in get_stats(), peerid=%s" % tubid,
./src/allmydata/test/test_client.py:        stats = c.get_stats()
./src/allmydata/test/common.py:            counters = thisclient.stats_provider.get_stats()['counters']
./src/allmydata/test/common.py:            counters = thisclient.stats_provider.get_stats()['counters']
./src/allmydata/test/common.py:            counters = thisclient.stats_provider.get_stats()['counters']
./src/allmydata/test/test_storage.py:        stats = ss.get_stats()
./src/allmydata/test/test_repairer.py:            counters = ss.stats_provider.get_stats()['counters']
./src/allmydata/test/test_repairer.py:            counters = ss.stats_provider.get_stats()['counters']
./src/allmydata/test/test_repairer.py:            counters = ss.stats_provider.get_stats()['counters']
./src/allmydata/test/test_stats.py:        s = m.get_stats() # before it has been started
./src/allmydata/test/test_stats.py:            s = m.get_stats()
./src/allmydata/test/no_network.py:            stats.update(sp.get_stats())

***Calls to get_latencies:
./src/allmydata/storage/server.py:        for category,ld in self.get_latencies().items():
./src/allmydata/test/test_storage.py:        output = ss.get_latencies()
