This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

good job!


Hi,

Just a few words to say that I've just test elapsed time between interthread
message passing, which is important for my app. CondVar vs Events :) and
it's very good !!

Here a result on 2 core, 1 thread on each one :

The wrapping have a very small impact !

Regards,

Michel PACILLI

COND_VAR :
*******************************************************
[ Histogramme sur 20 bins, accumule sur 100000 mesures ]

Tmin =            6 us
Tmax =         9222 us

           6 a          467 : 99942      
         467 a          928 : 20
         928 a         1389 : 15
        1389 a         1850 : 9
        1850 a         2310 : 2
        2310 a         2771 : 3
        2771 a         3232 : 2
        3232 a         3693 : 2
        3693 a         4154 : 0
        4154 a         4614 : 0
        4614 a         5075 : 0
        5075 a         5536 : 1
        5536 a         5997 : 1
        5997 a         6458 : 0
        6458 a         6918 : 1
        6918 a         7379 : 0
        7379 a         7840 : 0
        7840 a         8301 : 0
        8301 a         8762 : 0
        8762 a         9222 : 1      

EVENT :
*******************************************************
[ Histogramme sur 20 bins, accumule sur 100000 mesures ]

Tmin =            5 us
Tmax =         2429 us

           5 a          126 : 99861      
         126 a          248 : 126
         248 a          369 : 3
         369 a          490 : 3
         490 a          611 : 2
         611 a          732 : 0
         732 a          854 : 1
         854 a          975 : 1
         975 a         1096 : 0
        1096 a         1217 : 0
        1217 a         1338 : 0
        1338 a         1459 : 0
        1459 a         1581 : 0
        1581 a         1702 : 0
        1702 a         1823 : 0
        1823 a         1944 : 0
        1944 a         2065 : 0
        2065 a         2186 : 0
        2186 a         2308 : 1
        2308 a         2429 : 1          




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]