author | Don Dominic <a0486429@ti.com> | |
Mon, 6 Sep 2021 14:46:37 +0000 (20:16 +0530) | ||
committer | Ankur <ankurbaranwal@ti.com> | |
Thu, 16 Sep 2021 13:38:55 +0000 (08:38 -0500) | ||
commit | c6e34646389c5910fda8e1a2787bcc53a98aff24 | |
tree | af5908dbc32a636aa7eb5371fbf2a75f80e335c9 | tree | snapshot (tar.xz tar.gz zip) |
parent | 2fb01cb60164a8b098fa86967906f5951807fa9d | commit | diff |
[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>
- 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 | diff | blob | history |