Commit 7c4d28fb authored by Cedric Roux's avatar Cedric Roux

minor compiler warning removal/formatting cleanup


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7507 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent fc7da2eb
......@@ -129,9 +129,9 @@ static inline void stop_meas(time_stats_t *ts)
}
}
static inline void reset_meas(time_stats_t *ts) {
static cpu_freq_set=0;
static inline void reset_meas(time_stats_t *ts)
{
static int cpu_freq_set=0;
if (opp_enabled) {
ts->trials=0;
......@@ -141,7 +141,7 @@ static inline void reset_meas(time_stats_t *ts) {
ts->diff_square=0;
ts->max=0;
if (cpu_freq_set == 0 ){
if (cpu_freq_set == 0) {
cpu_freq_set = 1;
get_cpu_freq_GHz();
printf("CPU Freq is %f \n", cpu_freq_GHz);
......@@ -149,6 +149,7 @@ static inline void reset_meas(time_stats_t *ts) {
}
}
static inline void copy_meas(time_stats_t *dst_ts,time_stats_t *src_ts)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment