Lines Matching refs:x
16 for x in range(len(rawLines)):
17 line = rawLines[x].split()
20 ts = int(rawLines[x - 1].split()[-1])
48 lines = [x for x in rawLines if "Pulled" in x]
52 chewed = [[int(x.split()[sidx + 2]), int(x.split()[sidx + 4])] for x in lines]
56 chewed = [[x[1] - t0, x[0]] for x in chewed]
59 bytes = sum(x[1] for x in chewed)
63 for x in chewed:
64 bucket = x[0] / 1000
65 bytes = x[1]
72 for x in range(top):
73 if x not in buckets.keys():
74 buckets[x] = 0
77 window = [0 for x in range(5)]
79 for x in range(len(buckets.items())):
80 window[x % len(window)] = buckets.items()[x][1]
81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))