Re: [ovs-dev] [v2 1/2] perf-counter: simplify the performance macro

2015-07-14 Thread Ben Pfaff
On Wed, Jul 08, 2015 at 02:17:56PM -0700, Andy Zhou wrote: > Replace the original PERF_FUNCTION_BEGIN and PERF_FUNCTION_END > pair with a single PERF macro. This design is also more flexible, > removing the restriction of have only one measurement per function. > > The next patch will make use of

[ovs-dev] [v2 1/2] perf-counter: simplify the performance macro

2015-07-08 Thread Andy Zhou
Replace the original PERF_FUNCTION_BEGIN and PERF_FUNCTION_END pair with a single PERF macro. This design is also more flexible, removing the restriction of have only one measurement per function. The next patch will make use of this macro. Signed-off-by: Andy Zhou --- v1 -> v2: Drop perf-coun