Lines Matching refs:next
179 next = state.get("/proc/stat:cpu", "").split()
180 if last and next:
181 stime = sum([int(next[x]) - int(last[x]) for x in [2, 5, 6]])
182 utime = sum([int(next[x]) - int(last[x]) for x in [0, 1]])
183 idle = sum([int(next[x]) - int(last[x]) for x in [3, 4]])
228 next = int(state.get(key, -1))
229 if last != -1 and next != -1:
231 total_time += next - last
232 total_cycles += (next - last) * speed
264 next = int(state.get("/proc/stat:ctxt", -1))
265 if last != -1 and next != -1: context_switches[when] = next - last
307 next = state.get(key, "").split()
308 if not next: continue
310 pid = int(next[0])
312 process_name[pid] = next[1][1:-1]
317 faults = int(next[11]) - int(last[11])
322 stime = int(next[14]) - int(last[14])
323 utime = int(next[13]) - int(last[13])
360 next = int(state.get("/proc/binder/stats:BC_TRANSACTION", -1))
361 if last != -1 and next != -1: binder_calls[when] = next - last
398 next = state.get(key, "").split()
399 if not (last and next): continue
401 rx = int(next[0]) - int(last[0])
402 tx = int(next[8]) - int(last[8])
453 next = int(state.get(key, -1))
454 if last == -1 or next == -1: continue
456 value = next - last
504 next = state.get(key, "").split()
505 if not (last and next): continue
507 reads = int(next[2]) - int(last[2])
508 writes = int(next[6]) - int(last[6])
509 msec = int(next[10]) - int(last[10])