]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commit
[PDK-10107] FreeRTOS: C66x: Use OS Tick Timer instead of TSC Counter
authorDon Dominic <a0486429@ti.com>
Mon, 6 Sep 2021 14:46:37 +0000 (20:16 +0530)
committerAnkur <ankurbaranwal@ti.com>
Thu, 16 Sep 2021 13:38:55 +0000 (08:38 -0500)
commitc6e34646389c5910fda8e1a2787bcc53a98aff24
treeaf5908dbc32a636aa7eb5371fbf2a75f80e335c9
parent2fb01cb60164a8b098fa86967906f5951807fa9d
[PDK-10107] FreeRTOS: C66x: Use OS Tick Timer instead of TSC Counter

- Use OS Tick timer to calculate current time in micro seconds,
  instead of using TSC counter
- OS Ticks can be used to get currrent time in milli sec resolution
- Calculate the residual by reading current count of OS Timer using TimerP APIs
  and converting to microseconds

Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/kernel/freertos/portable/TI_CGT/c66/port.c