增加IP Plugin的性能测试用例。
This commit is contained in:
@@ -663,7 +663,7 @@ static void* ip_plugin_get_thread(void* arg)
|
|||||||
struct perf_ip_plugin_ud* result[4];
|
struct perf_ip_plugin_ud* result[4];
|
||||||
struct ip_address ip;
|
struct ip_address ip;
|
||||||
ip.ip_type=4;
|
ip.ip_type=4;
|
||||||
inet_pton(AF_INET, "191.70.72.1", &(ip.ipv4));
|
inet_pton(AF_INET, "8.8.8.8", &(ip.ipv4));
|
||||||
|
|
||||||
for(i=0; i<test_times; i++)
|
for(i=0; i<test_times; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user