Searched refs:sort_field (Results 1 – 2 of 2) sorted by relevance
/external/bcc/tools/ |
D | cachetop.py | 64 sort_field=DEFAULT_SORT_FIELD, argument 128 stats_list, key=lambda stat: stat[sort_field], reverse=sort_reverse 138 sort_field = FIELDS.index(DEFAULT_FIELD) 184 sort_field = max(0, sort_field - 1) 186 sort_field = min(len(FIELDS) - 1, sort_field + 1) 201 sort_field=sort_field, 208 strftime("%H:%M:%S"), buff, cached, FIELDS[sort_field],
|
/external/bcc/tools/lib/ |
D | ustat.py | 267 sort_field = self.args.sort.upper() 269 key=lambda kv: -kv[1].get(sort_field, 0))
|