Javascript Syntax for lr.[start][end]Timer Function

Hello,

Can anyone help me with the lr.startTimer | lr.endTimer function? I can't find an example of syntax. I want to use it to measure different sections that are loading to a page independently of each other.

Can I use it like lr.start|endTransaction or do I need to develop a method?

Thanks!

Jes