This question already has an answer here:
I want to mention the name of an specific function (or method) that I used in a experiment in a normal paragraph in my dissertation. What is the best way to do it? Considering that the official dissertation format that my teachers gave me doesn't mention how to do it.
"... with the Java programming language we can use System.nanoTime ..."