diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -99,6 +99,12 @@ namespace procman void status_cell_data_func(GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data); + void priority_cell_data_func(GtkTreeViewColumn *col, GtkCellRenderer *renderer, + GtkTreeModel *model, GtkTreeIter *iter, + gpointer user_data); + gint priority_compare_func(GtkTreeModel* model, GtkTreeIter* first, + GtkTreeIter* second, gpointer user_data); + template<typename T> void poison(T &t, char c) @@ -141,6 +147,8 @@ namespace procman gchar* format_size(guint64 size, guint64 max = 0, bool want_bits = false); + gchar* get_nice_level (gint nice); + std::string format_rate(guint64 rate, guint64 max_rate = 0, bool want_bits = false); std::string format_network(guint64 rate, guint64 max_rate = 0); |