Crate dpc_pariter
source · [−]Modules
Structs
Like std::iter::Filter
but multi-threaded
Like std::iter::Map
but multi-threaded
Profiles the time spent waiting for the downstream
iterator step to consume the previous returned item
and ask for the next one (or in other words, the time
spent NOT spent waiting on next()
of the inner iterator.
Profiles the time spent waiting for the upstream
iterator step to produce the next returned item
(or in other words, the time it took to call next()
).
And iterator that provides parallelism by running the inner iterator in another thread.
A scope for spawning threads.
A simple basic profiler implementation which tracks the accumulative time and calls a handler function with it.
A stats handle passed to handlers by TotalTimeProfiler
.
Traits
Extension trait for std::iter::Iterator
bringing parallel operations
An interface to profile iterator consumption/prodution performance
Functions
Creates a new scope for spawning threads.