[Cbe-oss-dev] ktime_get_ts() is slow

Luke Browning lukebr at linux.vnet.ibm.com
Mon Nov 26 04:11:48 EST 2007


I noticed that spufs time stamping was recently changed -- get_tbl()
calls were changed to ktime_get_ts() calls which is probably a 1000
times slower.  Isn't it better to use the most efficient routine for
internal timestamping and then translate the values when they are output
to user space.  I don't know what the mainline PPC kernel is doing in
this area, but shouldn't we have the same strategy.

Luke





More information about the cbe-oss-dev mailing list