I managed to create a script to perform real time BlackHole clock adjustment using the Ultralite Mk5 as reference.
It seems to work well and keep the drift constantly below 1 ppm.
Since, however low, the drift can still lead to buffer underun / overflow, I added a frame drift calculation so as to selectively compensate when it exceeds 1 (it seem to me a more robust solution than a control algorithm, that needs a lot of tuning and introduce instability risk).
To work properly I had to modify the BlackHole source code to use a 32 frame safety offset and directly receive the actual 24bit resolution coefficient from the script.
The script is extremely light, about 7MB of RAM and less then 0.1% CPU, and obviously much better than the ASRC performed by Core Audio with its Clock Drift compensation function.
Within the script I created the DAW opening command so I only click on it without having to remember to start it every time...
I could even let it started by the DAW, which is perhaps better ... I will evaluate.
Anyway, thanks to ChatGPT for its contribution, without which I would not even know where to start.
Having said that, I confirm the previously observed clock fluctuation, but in fact I can't know if it's that of the MK5 or the Mac because it is relative, and I have no other audio devices to test...
I hope it is the Mac, or that in any case the fluctuation is not present or is compensated by ASRC in DA-AD stadiums.