@ -2079,12 +2079,6 @@ static int SCPerfTestIntervalQual16()
memset ( & tv , 0 , sizeof ( ThreadVars ) ) ;
TimeModeSetOffline ( ) ;
struct timeval timev ;
memset ( & timev , 0x00 , sizeof ( timev ) ) ;
gettimeofday ( & timev , NULL ) ;
TimeSet ( & timev ) ;
id1 = SCPerfRegisterIntervalCounter ( " t1 " , " c1 " , SC_PERF_TYPE_DOUBLE , NULL ,
& tv . sc_perf_pctx , " 3s " ) ;
@ -2100,10 +2094,7 @@ static int SCPerfTestIntervalQual16()
SCPerfUpdateCounterArray ( pca , & tv . sc_perf_pctx , 0 ) ;
/* forward the time 6 seconds */
memset ( & timev , 0x00 , sizeof ( timev ) ) ;
TimeGet ( & timev ) ;
timev . tv_sec + = 6 ;
TimeSet ( & timev ) ;
TimeSetIncrementTime ( 6 ) ;
SCPerfOutputCalculateCounterValue ( tv . sc_perf_pctx . head , & d_temp ) ;
@ -2122,12 +2113,6 @@ static int SCPerfTestIntervalQual17()
memset ( & tv , 0 , sizeof ( ThreadVars ) ) ;
TimeModeSetOffline ( ) ;
struct timeval timev ;
memset ( & timev , 0x00 , sizeof ( timev ) ) ;
gettimeofday ( & timev , NULL ) ;
TimeSet ( & timev ) ;
id1 = SCPerfRegisterIntervalCounter ( " t1 " , " c1 " , SC_PERF_TYPE_DOUBLE , NULL ,
& tv . sc_perf_pctx , " 2m30s " ) ;
@ -2143,10 +2128,7 @@ static int SCPerfTestIntervalQual17()
SCPerfUpdateCounterArray ( pca , & tv . sc_perf_pctx , 0 ) ;
/* forward the time 3 seconds */
memset ( & timev , 0x00 , sizeof ( timev ) ) ;
TimeGet ( & timev ) ;
timev . tv_sec + = 3 ;
TimeSet ( & timev ) ;
TimeSetIncrementTime ( 3 ) ;
SCPerfOutputCalculateCounterValue ( tv . sc_perf_pctx . head , & d_temp ) ;