Changeset 2978


Ignore:
Timestamp:
Oct 30, 2009 1:18:28 AM (15 years ago)
Author:
bennylp
Message:

Misc fixes (#951): renamed mips variable in pjmedia MIPS test since it conflicts with some internal name in MIPS target (thanks Antonio Anton for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/mips_test.c

    r2882 r2978  
    24082408            pj_timestamp times[RETRY], tzero; 
    24092409            int usec; 
    2410             float cpu_pct, mips; 
     2410            float cpu_pct, mips_val; 
    24112411            unsigned j, clock_rate = clock_rates[c]; 
    24122412 
     
    24392439            usec = usec / (DURATION / 1000); 
    24402440 
    2441             mips = (float)(CPU_IPS * usec / 1000000.0 / 1000000); 
     2441            mips_val = (float)(CPU_IPS * usec / 1000000.0 / 1000000); 
    24422442            cpu_pct = (float)(100.0 * usec / 1000000); 
    24432443            PJ_LOG(3,(THIS_FILE, "%2dKHz %-38s % 8d %8.3f %7.2f",  
    2444                       clock_rate/1000, e->title, usec, cpu_pct, mips)); 
     2444                      clock_rate/1000, e->title, usec, cpu_pct, mips_val)); 
    24452445 
    24462446        } 
Note: See TracChangeset for help on using the changeset viewer.