I want to use name to get the time-consuming of a method in the program, not through flamegraph. Maybe add a similar function? ```rust if firestorm::enabled() { let time = get_time(name: String); } ```
I want to use name to get the time-consuming of a method in the program, not through flamegraph.
Maybe add a similar function?