Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Urgent : CPU Cycle Count : performance counter issues

Hello All,

I am facing a weird problem with the C2H in place, the amount of CPU cycles consumed to run FFT on C2H is almost 10 times more than without the C2H in place, which is very weird.

Does anyone has a clue about it , please let me know.

These is the info which is obtained from performance counter and timer .

Time before: 505

Time After: 93847681

Diff in Time 93847176

ALT TIMESTAMP FREQ 50000000

--Performance Counter Report--

Total Time: 1.87692 seconds (93846132 clock-cycles)

+---------------+-----+-----------+---------------+-----------+

| Section | % | Time (sec)| Time (clocks)|Occurrences|

+---------------+-----+-----------+---------------+-----------+

|FFT WITH C2H | 100| 1.87692| 93846133| 0|

+---------------+-----+-----------+---------------+-----------+

Time before: 469

Time After: 6912825

Diff in Time 6912356

ALT TIMESTAMP FREQ 50000000

--Performance Counter Report--

Total Time: 0.138226 seconds (6911310 clock-cycles)

+--------------------+-----+-----------+---------------+-----------+

| Sectio n | % | Time (sec)| Time (clocks)|Occurrences|

+--------------------+-----+-----------+---------------+-----------+

|FFT WITHOUT C2H| 100| 0.13823| 6911311| 0|

+--------------------+-----+-----------+---------------+-----------+

Could anyone let me know what could be the problem. Why there is a deceleration .

Regards,

Ravi MS
No RepliesBe the first to reply