Lines Matching refs:get
148 writer.writerow([msec] + [values.get(n, "") for n in range(num_cols)])
156 "user": cgi.escape(os.environ.get("USER", "unknown")),
178 last = last_state.get("/proc/stat:cpu", "").split()
179 next = state.get("/proc/stat:cpu", "").split()
227 last = int(last_state.get(key, -1))
228 next = int(state.get(key, -1))
263 last = int(last_state.get("/proc/stat:ctxt", -1))
264 next = int(state.get("/proc/stat:ctxt", -1))
306 last = last_state.get(key, zero_stat).split()
307 next = state.get(key, "").split()
314 all = all_jiffies.get(when, 0)
319 tf = total_faults[when] = total_faults.get(when, 0) + faults
359 last = int(last_state.get("/proc/binder/stats:BC_TRANSACTION", -1))
360 next = int(state.get("/proc/binder/stats:BC_TRANSACTION", -1))
397 last = last_state.get(key, "").split()
398 next = state.get(key, "").split()
452 last = int(last_state.get(key, -1))
453 next = int(state.get(key, -1))
465 totals = [sum(ops.get(var, {}).values()) for var in yaffs_vars]
470 [ops.get(var, {}) for var in yaffs_vars],
503 last = last_state.get(key, "").split()
504 next = state.get(key, "").split()
579 sys = sum([n for n, d in process_sys.get(pid, {}).values()])
580 sys_user = sum([n for n, d in process_sys_user.get(pid, {}).values()])
587 [process_sys.get(pid, {}), process_sys_user.get(pid, {})],
595 "process": cgi.escape(process_name.get(pid, "(unknown)")),
610 faults = sum(process_faults.get(pid, {}).values())
614 ["major"], [process_faults.get(pid, {})],