Hi,
Who knows how to measure the conext switch from one thread to another?
Thanks,
Belinda
Hi,
Who knows how to measure the conext switch from one thread to another?
Thanks,
Belinda
Belinda <yye@is2.dal.ca> wrote:
Hi,
Who knows how to measure the conext switch from one thread to another?
Have 2 thread in high priority calling “SchedYield()” in a loop, measure
the total time and how many “SchedYield()” they’ve go through ?
-xtang
Hi,
Could you give me a favor, a small example ?
Thanks,
Belinda
“Xiaodan Tang” <xtang@qnx.com> дÈëÏûÏ¢ÐÂÎÅ:ae7v1m$g1r$1@nntp.qnx.com…
Belinda <> yye@is2.dal.ca> > wrote:
Hi,Who knows how to measure the conext switch from one thread to another?
Have 2 thread in high priority calling “SchedYield()” in a loop, measure
the total time and how many “SchedYield()” they’ve go through ?-xtang