I was gonna make a routine in assembler to do it, started checking the VBCC docs to see how to interface to asm (how can you access a variable that's in your C code from assembler when using inline assebler, anyone ?) and stumbled across the long long type, apparently only supported by more recent C standarts (ISO99 or something, what's the difference anyway is ISO incompatible with ANSI ?)...
So it goes like this: just use some casting to assign the EClockVal *ptr function argument to a long long, repeat the same when doing the second reading (to a different variable of course), use C's ordinary substraction to substract the 2nd reading from the 1st one and divide the obtained value by the returned ticks per seoncd, and finally cast the result to a double to obtain the fraccions of a second that passed (wich I don't think the RKM should refer as fracctions since from what I understand can be much more than a second..).
Will that work as easy as it seems ? :-)