Sample-path analysis of processes with imbedded point processes