logFrameRate static method
Implementation
static void logFrameRate(double fps) {
if (fps < 30) {
DKLog.w('帧率过低: ${fps.toStringAsFixed(1)} FPS', tag: 'Performance');
} else {
DKLog.d('帧率: ${fps.toStringAsFixed(1)} FPS', tag: 'Performance');
}
}