Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
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 |
|
|
|
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 --- |