Need to add unittest for nested paddle::platform::RecordEvent
Created by: Xreki
The paddle::platform::RecordEvent
is originally designed to support nested profiling. But there is no unittest for it. As a result, some modification may accidentally disable, causing errors like #8753 (closed) . Thus, we need to add unittest for this usage.