Add elapsed() method.
Introduce PTL namespace.