Skip to content

Commit f11966f

Browse files
Merge pull request #17 from zhwayne/master
Fix the problem of incorrect time unit
2 parents 915b7c7 + a63c6ca commit f11966f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AppModule/QTAppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ - (void)_sendEvent:(id<QTEvent>)event sel:(SEL)sel{
239239
[message appendString:@"Bus: "];
240240
[message appendString:NSStringFromClass(module.class)];
241241
[message appendFormat:@" execute %@ ",NSStringFromSelector(sel)];
242-
[message appendFormat:@"cost %fms", endTime - beginTime];
242+
[message appendFormat:@"cost %fms", (endTime - beginTime) * 1e3];
243243
NSLog(@"%@",message);
244244
}
245245
#pragma clang diagnostic pop

0 commit comments

Comments
 (0)