From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14730 invoked by alias); 15 Mar 2005 08:31:19 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 10279 invoked by uid 48); 15 Mar 2005 08:28:53 -0000 Date: Tue, 15 Mar 2005 08:31:00 -0000 Message-ID: <20050315082853.10274.qmail@sourceware.org> From: "castet dot matthieu at free dot fr" To: glibc-bugs@sources.redhat.com In-Reply-To: <20050314140930.789.castet.matthieu@free.fr> References: <20050314140930.789.castet.matthieu@free.fr> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug libc/789] HP_TIMING_ACCUM broken on ia32 ? X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg00066.txt.bz2 List-Id: ------- Additional Comments From castet dot matthieu at free dot fr 2005-03-15 08:28 ------- http://sources.redhat.com/ml/libc-alpha/2005-03/msg00053.html doesn't help. I can't use HP_TIMING_ACCUM_NT, because I use it in thread environement. Actually I use atomic operation on 32 bits variable because my diff is enough small : old_time = atomic_exchange_and_add(&buf->stat_time_low, (unsigned int)(diff)); if ((old_time + (unsigned int)(diff)) < old_time) atomic_increment(&buf->stat_time_high); -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=789 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.