search for: tparam

Displaying 1 result from an estimated 1 matches for "tparam".

Did you mean: param
2013 Apr 01
0
nparams in virNodeGetCPUStats and CPU utilization
...params */ params = (virNodeCPUStatsPtr *) malloc (sizeof (virNodeCPUStats) * nparams ); /* get the values */ retval = virNodeGetCPUStats (conn, VIR_NODE_CPU_STATS_ALL_CPUS,\ params, &nparams, 0); for ( i = 0 ; i < nparams ; i++) { printf ("params[%d].field: %s \tparams[%d].value: %llu\n", i, params[i].field, i, params[i].value); } output: nparams: 4 params[0].field: kernel params[0].value: 77930000000 params[1].field: user params[1].value: 568270000000 params[2].field: idle params[2].value: 471429230000000 params[3].field: iowait...