Boost logo

Boost :

Subject: Re: [boost] [context review] Several Questions
From: Artyom (artyomtnk_at_[hidden])
Date: 2011-03-21 09:38:58


> From: Oliver Kowalke <oliver.kowalke_at_[hidden]>
>
> > > sched_yield(): 2108 cycles
> > > ucontext_t: 1795 cycles
> > > fcontext_t: 156 cycles
> > >
>
> > Actually it is quite consistent with what you had show,
> > the Boost.Context is better (but not significantly) then
> > real OS (kernel) context switch.
>
> factor 13x ?
>

I was talking about _default_ build which uses ucontext.

Artyom

      


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk