summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-01 17:50:17 +0300
committermonsta <[email protected]>2015-12-01 17:50:17 +0300
commit5e203bc024a3d8a34921ae237ae595002889bf12 (patch)
tree9c01ca9d81f2d20ae44895037b6d786295a19d80 /src/util.h
parenteeeaff5770c91943baa3c506da3d05b7092c7690 (diff)
downloadmate-system-monitor-5e203bc024a3d8a34921ae237ae595002889bf12.tar.bz2
mate-system-monitor-5e203bc024a3d8a34921ae237ae595002889bf12.tar.xz
process properties: use proper format for "CPU time" property
it should be the same as in "CPU time" column of process table now adapted from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=3c1f17877f95fcac7f5d437739305e245af7ba8b
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index aae8482..3d6ef47 100644
--- a/src/util.h
+++ b/src/util.h
@@ -85,6 +85,8 @@ inline void unref_map_values(Map &map)
namespace procman
{
+ gchar* format_duration_for_display(unsigned centiseconds);
+
void size_cell_data_func(GtkTreeViewColumn *col, GtkCellRenderer *renderer,
GtkTreeModel *model, GtkTreeIter *iter,
gpointer user_data);