Lines Matching defs:ProcessRecord
41 struct ProcessRecord { struct
43 ProcessRecord(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0) in ProcessRecord() function
86 bool valid() const { return pid_ != -1; } in valid()
88 void CalculateSwap(const std::vector<uint16_t>& swap_offset_array, in CalculateSwap()
98 pid_t pid() const { return pid_; } in pid()
99 const std::string& cmdline() const { return cmdline_; } in cmdline()
100 int32_t oomadj() const { return oomadj_; } in oomadj()
101 uint64_t proportional_swap() const { return proportional_swap_; } in proportional_swap()
102 uint64_t unique_swap() const { return unique_swap_; } in unique_swap()
103 uint64_t zswap() const { return zswap_; } in zswap()
106 const std::vector<uint64_t>& SwapOffsets() const { return swap_offsets_; } in SwapOffsets()
107 const MemUsage& Usage() const { return usage_or_wss_; } in Usage()
108 const MemUsage& Wss() const { return usage_or_wss_; } in Wss()
111 pid_t pid_;
112 int32_t oomadj_;
113 std::string cmdline_;
114 uint64_t proportional_swap_;
115 uint64_t unique_swap_;
116 uint64_t zswap_;
117 MemUsage usage_or_wss_;
118 std::vector<uint64_t> swap_offsets_;