public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: "Michel Pacilli" <michel.pacilli@free.fr>
To: <pthreads-win32@sourceware.org>
Subject: good job!
Date: Sun, 22 Mar 2009 21:51:00 -0000	[thread overview]
Message-ID: <005101c9ab38$604c4820$20e4d860$@pacilli@free.fr> (raw)
In-Reply-To: <49C427D7.3090505@homemail.com.au>

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          



      reply	other threads:[~2009-03-22 21:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 13:14 Pthread_join waits endlessly for already ended thread Torsten Andre2
2009-03-19  0:34 ` Ross Johnson
2009-03-19 11:54   ` Virgilio Alexandre Fornazin
2009-03-20 23:37     ` Ross Johnson
2009-03-22 21:51       ` Michel Pacilli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005101c9ab38$604c4820$20e4d860$@pacilli@free.fr' \
    --to=michel.pacilli@free.fr \
    --cc=pthreads-win32@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).