Does a safety pilot log PIC, or SIC? I just got my private pilot license and I want to build-up time with another private pilot

lets say I am acting as a safety pilot and we make a flight of 3.7, and his time under the hood was 3.4 in C172

1-as a safety pilot, what is my total durain time?

2- as a safety pilot, am I going to log PIC, or SIC? and how much?

I keep getting different answers. It would be really appreciated if you cite your source.
Yes you can log time as safety pilot where you are taking legal responsibility for maintaining VFR separation during hood practice.  Otherwise it has to be a multi-crew situation by operating rules or due to the aircraft type.  This covers it pretty good.  https://www.aopa.org/training-and-safety/learn-to-fly/logging-cross-country-time/logbooks-and-logging-time