DSPRelated.com
Forums

TigerSHARC TS101 Clock Cycle Counting on Hardware

Started by jook...@yahoo.com June 23, 2006
Hello,

I am attempting to run some benchmark tests on the TigerSHARC TS101. I have been compiling using VisualDSP++ 3.5 and everything works great. I am using the CCNT register to determine the number of clock cycles it takes to run certain algorithm implementations. When I run the projects dxe on the hardware, reading the CCNT register returns 0 everytime. The program is running fine besides that issue. I also tried using the time.h clock() function which works in the VDSP++ simulator with accurate clock cycle counts, but returns zero on the board.

Is it possible to get clock cycle counts from the CCNT register on the board? If not, is there a preffered way to accomplish this?

Regards,

Paul J.