]> begriffs open source - freertos/commit
Include current task runtime in ulTaskGetRunTimeCounter (#1234)
authorGaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Wed, 12 Feb 2025 15:27:18 +0000 (20:57 +0530)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2025 15:27:18 +0000 (20:57 +0530)
commit29e817b70eccb4cb7cf9131ea0484b5b19c3016f
tree887549a85be56392eff863b90ac8d072749aa965
parent51a1598e4e0281de8b8d54467747af460478eadc
Include current task runtime in ulTaskGetRunTimeCounter (#1234)

* Include current task runtime in ulTaskGetRunTimeCounter

Update ulTaskGetRunTimeCounter to include elapsed time since the last
context switch when called for the currently running task. Previously,
this time was not included in the calculation.

Fixes #1202.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
tasks.c