Real-Time Safety of functions

Hi,

Just wondering, are both

RTT::os::TimeService::Instance()->secondsSince() RTT::Logger::log().getReferenceTime()

Real-time safe functions? I assume they are but I know the logger is not real-time safe because it has to write to the disk. However this specific function does not have to write to disk.

Thanks again, Erick