clock() is indeed broken in AROS since 2012...
It was changed to use time(), but time() has resolution of seconds, so that's why you get '0' as result most of the time.
I'll see if I can fix that, but this means people will have to update their C libraries for your software to work.