add proc_time.total field (sum of user+sys)
This commit is contained in:
1 parent
606275fc36
commit
4736d77c87
10 files changed
+15
-1
No files matched your search
@@ -278,6 +278,11 @@ my %classes = (
|
||||
desc => 'Process cpu kernel time',
|
||||
plat => 'ADHLSW'
|
||||
},
|
||||
{
|
||||
name => 'total', type => 'Long',
|
||||
desc => 'Process cpu time (sum of User and Sys)',
|
||||
plat => 'ADHLSW'
|
||||
},
|
||||
],
|
||||
ProcState => [
|
||||
{
|
||||
|
||||
@@ -26,6 +26,7 @@ public class TestInvoker extends SigarTestCase {
|
||||
{ "sigar:Type=ProcMem,Arg=$$", "Vsize" },
|
||||
{ "sigar:Type=ProcTime,Arg=$$", "Sys" },
|
||||
{ "sigar:Type=ProcTime,Arg=$$", "User" },
|
||||
{ "sigar:Type=ProcTime,Arg=$$", "Total" },
|
||||
//test Utime/Stime backcompat.
|
||||
{ "sigar:Type=ProcTime,Arg=$$", "Stime" },
|
||||
{ "sigar:Type=ProcTime,Arg=$$", "Utime" },
|
||||
|
||||
Reference in new issue
Block a user