What is perf_*?

Hi all.
I want to write my own driver for a UART module. I have checked examples of similar sources but do not know how to use perf_ (free, print_counter, count and etc) and the main question is what are their uses?