Searched refs:time_cost (Results 1 – 1 of 1) sorted by relevance
| /f-stack/dpdk/app/test/ |
| H A D | test_ticketlock.c | 101 static uint64_t time_cost[RTE_MAX_LCORE]; variable 128 time_cost[lcore] = time_diff * 1000000 / hz; in load_loop_fn() 143 printf("Core [%u] cost time = %"PRIu64" us\n", lcore, time_cost[lcore]); in test_ticketlock_perf() 145 memset(time_cost, 0, sizeof(time_cost)); in test_ticketlock_perf() 150 printf("Core [%u] cost time = %"PRIu64" us\n", lcore, time_cost[lcore]); in test_ticketlock_perf() 152 memset(time_cost, 0, sizeof(time_cost)); in test_ticketlock_perf() 168 printf("Core [%u] cost time = %"PRIu64" us\n", i, time_cost[i]); in test_ticketlock_perf() 170 total_time += time_cost[i]; in test_ticketlock_perf()
|