Changeset 2978
- Timestamp:
- Oct 30, 2009 1:18:28 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/test/mips_test.c
r2882 r2978 2408 2408 pj_timestamp times[RETRY], tzero; 2409 2409 int usec; 2410 float cpu_pct, mips ;2410 float cpu_pct, mips_val; 2411 2411 unsigned j, clock_rate = clock_rates[c]; 2412 2412 … … 2439 2439 usec = usec / (DURATION / 1000); 2440 2440 2441 mips = (float)(CPU_IPS * usec / 1000000.0 / 1000000);2441 mips_val = (float)(CPU_IPS * usec / 1000000.0 / 1000000); 2442 2442 cpu_pct = (float)(100.0 * usec / 1000000); 2443 2443 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)); 2445 2445 2446 2446 }
Note: See TracChangeset
for help on using the changeset viewer.