Committer: Tim Just <tim.just@xxxxxxxxxxxxxx> Date: 26/04/2010 at 17:56:36 Revision: 3772 Revision-id: tim.just@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: tiny Log: Moved stop of PERF_R1 to the correct position. Modified: M hipd/input.c M hipd/output.c === modified file 'hipd/input.c' --- hipd/input.c 2010-04-23 15:10:44 +0000 +++ hipd/input.c 2010-04-26 14:55:53 +0000 @@ -971,11 +971,6 @@ if (ctx->hadb_entry->dh_shared_key) { free(ctx->hadb_entry->dh_shared_key); } -#ifdef CONFIG_HIP_PERFORMANCE - HIP_DEBUG("Stop and write PERF_R1\n"); - hip_perf_stop_benchmark(perf_set, PERF_R1); - hip_perf_write_benchmark(perf_set, PERF_R1); -#endif return err; } /** === modified file 'hipd/output.c' --- hipd/output.c 2010-04-23 15:10:44 +0000 +++ hipd/output.c 2010-04-26 14:55:53 +0000 @@ -714,7 +714,11 @@ if (ctx->output_msg) { free(ctx->output_msg); } - +#ifdef CONFIG_HIP_PERFORMANCE + HIP_DEBUG("Stop and write PERF_R1\n"); + hip_perf_stop_benchmark(perf_set, PERF_R1); + hip_perf_write_benchmark(perf_set, PERF_R1); +#endif return err; }