Time can be associated with irreversibility. A broken egg can't reassemble. Most, if not all, processes are irreversible and this is associated with time going in one direction. Ŕemarkably, living organisms seem to behave contrary to this. They even give birth to the egg which can't reassemble when broken. Which of course doesn't mean that time goes backward. In the larger context the irreversible process is one including the Sun (directly or indirectly). So, while entropy decreases locally, globally the process is an irreversible one and evolving towards higher entropy.
Such processes can be compared with (quasi) periodic processes, called clocks (of which in the ideal case it can't be decided if it goes forward or backward). It's this clock time that's used on the spacetime manifold of relativity. One can imagine such a clock to be placed at all points in space, thus adding the time-dimension connected to space by the invariant lightspeed c.
So there are irreversible, unidirectional, thermodynamic processes on one side and the (quasi) periodic process quantifying it by observing how manny periods have passed between two moments in the process.
The question arises though, are the irreversible processes constituting time or are they evolving in time, which seems the case in general relativity, time being the clock. It's confusing since the very concepts of "a process" or "evolving" already seem to contain time. Which maybe can be resolved by assuming processes constituting time. Or is the clock time, as part of the spacetime continuum more fundamental and existing even without processes taking place in it? Is maybe the field of virtual particles involved? I mean it's the superposition of all energies and momenta and bidirectional in time.
What can be said about this?