This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TM4C1294NCPDT: No Local wall clock time values even when (timestampStd) provides ANSI-C clock times for CCSV7 user properties clock.

Guru 56043 points
Part Number: TM4C1294NCPDT


Tool/software: TI-RTOS

The time calculation for Live status GPTM clock count values make Benchmarking a functions local time almost impossible without proper ANSI-C dot denoted Wall Clock local time.

It seems from the explanation (link) of ANSI-C clock time values CCS debug GEL should translate GPTM clock ticks into ANSI-C local wall clock time (00:00:00) but that is not occurring,

http://digital.ni.com/public.nsf/allkb/A98D197224CB83B486256BC100765C4B

Have I done something wrong in the GEL file to invoke ANSI-C wall clock time for Live Status prints?

  • Hi,

    Please apologize for the delay; are you still having this issue?

    The GEL_EnableClock() API enables the Profile Clock, which is only correlated to the CPU clock cycles and not with any real-time clock. Check the reference below and, more specifically, section 6.

    processors.wiki.ti.com/.../Profile_clock_in_CCS

    The Live session Time stamps are part of the System Analyzer, which is controlled and populated by the instrumentation built into TI-RTOS. This is enabled by default in the project and Its configuration is controlled via the .cfg file which is part of your project.

    Details about the meaning of the data displayed and to configure this utility can be found at the System Analyzer User's Guide
    www.ti.com/.../spruh43f.pdf

    I would also check if the experts at the TI-RTOS forum can have any additional tips about the System Analyzer.

    Hope this helps,
    Rafael
  • Hi Desouza,

    Thanks for the great info and have just quickly reviewed wiki and PDF.

    Yet I was more concerned why the ANSI-C time pattern (00:00:00) is not being output in the Live data sent to SA. Again the proper module to convert the idle mode logger data to ANSI-C format is installed in the RTOS kernel. The RTSC module text stated to enable the profile clock in GEL file as done but did not see the clock on the status bar appear. That may not be so important as the conversion of processor time into ANSI-C pattern at any BIOS clock rate being divide or not which is not occurring either way.