As far as I have always understood it:
Pilot in Command/Captain gets the lot, from Out to In, regardless of the bunk.
For everybody else time in the seat = time logged, but a separate record of total flight time should be kept for the purposes of monitoring Flying Duties, fatigue, etc.....
(FWIW I always log total block time for all sectors in one of the spare logbook columns)