Added taskSamples for preference marking.
Added stub for CPU or disk-based scheduling while defaulting to standard scheduler.