pub fn f_get_profiling_mode() -> Result<bool, TchError>
Returns whether profiling mode is set or not.