Displaying 1 result from an estimated 1 matches for "sum_px".
Did you mean:
sum_cx
2011 Dec 21
2
[PATCH] xenpm: assorted adjustments
...ret = xc_get_cpufreq_avgfreq(xc_handle, cpuid, avgfreq);
if ( ret )
- {
- return errno;
- }
+ ret = -errno;
- return 0;
+ return ret;
}
static int show_pxstat_by_cpuid(xc_interface *xc_handle, int cpuid)
@@ -325,7 +320,7 @@ static uint64_t *sum, *sum_cx, *sum_px;
static void signal_int_handler(int signo)
{
- int i, j, k, ret;
+ int i, j, k;
struct timeval tv;
int cx_cap = 0, px_cap = 0;
DECLARE_HYPERCALL_BUFFER(uint32_t, cpu_to_core);
@@ -404,6 +399,8 @@ static void signal_int_handler(int signo
res / 100000...