> I'd find this very useful, of course especially for profiling purposes. > I don't have any specific idea how to implement it, though. on P4s (and above), you could use RDTSC for an efficient and high resolution timestamp A+ -- Eric Pouech