Function_profiler.HookSource***************
************************
Path of the output flame graph samples file
Resolution of the flame graph samples
******************
Timing record of a function call
***********************
Update the state when a call is detected
Update the state when a return is detected
Observe the call stack and update the timing records
**************
Print a timing record as a flame graph sample
Export timing records as flame graph samples
Print the statistics table
*******************