diff options
author | monsta <[email protected]> | 2015-12-01 17:50:17 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-01 17:50:17 +0300 |
commit | 5e203bc024a3d8a34921ae237ae595002889bf12 (patch) | |
tree | 9c01ca9d81f2d20ae44895037b6d786295a19d80 /src/util.cpp | |
parent | eeeaff5770c91943baa3c506da3d05b7092c7690 (diff) | |
download | mate-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.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index 3573f00..0690d48 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -85,8 +85,8 @@ static inline unsigned divide(unsigned *q, unsigned *r, unsigned d) * @param d: duration in centiseconds * @type d: unsigned */ -static char * -format_duration_for_display(unsigned centiseconds) +gchar * +procman::format_duration_for_display(unsigned centiseconds) { unsigned weeks = 0, days = 0, hours = 0, minutes = 0, seconds = 0; |