[dpdk-dev] [PATCH] test: reduce duration for timer autotest

Pattan, Reshma reshma.pattan at intel.com
Wed Oct 10 18:24:28 CEST 2018


Hi 

> -----Original Message-----
> From: Parthasarathy, JananeeX M
> Sent: Saturday, September 22, 2018 12:55 PM
> To: dev at dpdk.org
> Cc: Pattan, Reshma <reshma.pattan at intel.com>; rsanford at akamai.com;
> Parthasarathy, JananeeX M <jananeex.m.parthasarathy at intel.com>
> Subject: [PATCH] test: reduce duration for timer autotest
> 
> 
>  	/* pick random timer to reset, stopping them first half the time */
> -	for (i = 0; i < 100000; i++) {
> +	for (i = 0; i < NB_STRESS2_TIMERS; i++) {

Just reduce the iteration to some number, instead of using macro NB_STRESS2_TIMERS, which seem to be specific for number of timers.

(Or) can this test be considered as perf ? and ignore above changes.? 

Any one any comments?

Thanks,
Reshma




More information about the dev mailing list