Skip to content

Commit 0dc69a5

Browse files
committed
🚀 Add startWithIP:DNSTime:atTimePoint:withObject:
1 parent 380350f commit 0dc69a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: README.md

+11
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@ typedef void (^nbs_URLSessionDataTaskCompletionHandler)(NSData * _Nullable data,
884884
885885
|属性|含义|
886886
|:---:|:----:|
887+
|tm\_pnt_send|请求开始时间
887888
|tm\_dur_dns|DNS 解析时间
888889
|tm\_dur_cnnct|TCP 建立连接时间
889890
|tm\_dur_firstP|首包时间
@@ -1148,6 +1149,16 @@ if (r12 != 0x0) {
11481149
[r15 release];
11491150
```
11501151
1152+
`-[_priv_NBSHTTPTransaction startWithIP:DNSTime:atTimePoint:withObject:]` 方法会将参数的时间赋值给自己的 `tm_pnt_send` 属性。
1153+
1154+
```
1155+
-[_priv_NBSHTTPTransaction startWithIP:DNSTime:atTimePoint:withObject:] {
1156+
var_30 = intrinsic_movsd(var_30, arg4, rdx, arg5);
1157+
r12->tm_pnt_send = intrinsic_movsd(r12->tm_pnt_send, intrinsic_movsd(xmm0, var_30));
1158+
1159+
}
1160+
```
1161+
11511162
当然除了 `-[_priv_NSURLSession_NBS nbs_dataTaskWithRequest:completionHandler:]` 方法外,下面的方法也包含这段逻辑:
11521163
11531164
* `nbs_downloadTaskWithRequest:`

0 commit comments

Comments
 (0)