Add InParfor static function
Add fpart and time_elapsed functions