search for: perfc_decrc

Displaying 2 results from an estimated 2 matches for "perfc_decrc".

2006 Feb 09
11
X86_64 "assert" when booting 64-bit image.
...able(gmfn)); 1222:4799: BUG(); 1223:4799: } 1224:4799: 1225:4799: // Undo the affects of the above call to ___shadow_status()''\ s perf 1226:4799: // counters, since that call is really just part of an asser\ tion. 1227:4239: // 1228:4239: perfc_decrc(shadow_status_calls); 1229:4239: perfc_decrc(shadow_status_miss); 1230:4239: #endif _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...atomic_set(&perfcounters.x[y], v); \ - } while ( 0 ) -#define perfc_incr(x) atomic_inc(&perfcounters.x[0]) -#define perfc_decr(x) atomic_dec(&perfcounters.x[0]) -#define perfc_incrc(x) atomic_inc(&perfcounters.x[smp_processor_id()]) -#define perfc_decrc(x) atomic_dec(&perfcounters.x[smp_processor_id()]) + ( (y) <= PERFC_LAST_ ## x - PERFC_ ## x ? \ + this_cpu(perfcounters)[PERFC_ ## x + (y)] = (v) : (v) ) +#define perfc_incr(x) (++this_cpu(perfcounters)[PERFC_ ## x]) +#define perfc_decr(x) (--this_cp...