Stats refactoring
Record latencies greater than 100ms in histogram.