Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | using bios to measure time

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

using bios to measure time - fedelegger - Jan 28 13:35:00 2002

Hi,
I'm trying to profile my code with bios, since the profiler seems to
be heavely bugged.
So I tried to use

LOG_printf(&Debug, "time = %d", CLK_gethtime());
in various places in my code, but the problem is that CLK_gethtime
returns always the same value, so the diff (time elapsed) is always 0.
Should I set up anything special in order to do this?
How are you profiling your code?
TIA
Federica Legger








(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

RE: using bios to measure time - Wang Jianhong - Jan 28 16:12:00 2002

Did you enable clock in Profile menu?
--- "fedelegger <>" wrote --
>
> Hi,
> I'm trying to profile my code with bios, since the profiler seems to
> be heavely bugged.
> So I tried to use
>
> LOG_printf(&Debug, "time = %d", CLK_gethtime());
> in various places in my code, but the problem is that CLK_gethtime
> returns always the same value, so the diff (time elapsed) is always 0.
> Should I set up anything special in order to do this?
> How are you profiling your code?
> TIA
> Federica Legger >
>
> _____________________________________ --- Shanghai Jiaotong University Alumni Email System http://mail.sjtu.edu ---


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )