Navigation


Changeset 575:66f188b3ca84 in freeDiameter for extensions/test_app/ta_serv.c


Ignore:
Timestamp:
Oct 8, 2010, 4:02:48 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Configurable parameters for the benchmark mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_app/ta_serv.c

    r572 r575  
    101101        CHECK_FCT( fd_msg_send( msg, NULL, NULL ) );
    102102       
     103        /* Add this value to the stats */
     104        CHECK_POSIX_DO( pthread_mutex_lock(&ta_conf->stats_lock), );
     105        ta_conf->stats.nb_echoed++;
     106        CHECK_POSIX_DO( pthread_mutex_unlock(&ta_conf->stats_lock), );
     107       
    103108        return 0;
    104109}
Note: See TracChangeset for help on using the changeset viewer.