1) Is it a correct way to do it?
2) Are there better ways?
3) What retrieves from 'GetTicks' by Profiler object? I cant' understand it.1) In cases like these there is no correct or wrong way. See it like this: If it works, it's just fine.
But to satisfy your curiosity, the profiler was designed to measure the processor load of events.
2) No. There are other ways, but they aren't better. For example, in "Verve!" I used a custom deltatime calculated from the deltatimes before (while timescale was 1.0). The great disadvantage of such a method is that you don't work with the current, the real, deltatime, but with an average that is not very accurate per tick.
3) As I said in 1), the profiler was designed to measure the processor load of events. This would be a typical use of it:
-> Begin profiling
+ For "" from 1 to 10000
-> Add 1 to global('just_some_variable')
-> End profiling
-> Set text to Profiler.GetSeconds
The "ticks" should not be confused with Construct's ticks. They are better known as clock cycles per instruction (or the summary of all instructions in this case). You may want to read more about it here