delorie.com/archives/browse.cgi | search |
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 4926ZCgO3961014 |
Authentication-Results: | delorie.com; |
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=O6M1FP8Y | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 8696F386183E |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1727850910; | |
bh=E5O+JKc5B5aNLPSP45nZPmLTZqQWUb8ZnFgHCzd+sNg=; | |
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: | |
List-Help:List-Subscribe:From:Reply-To:From; | |
b=O6M1FP8YnnTaRdyFtq0HaNrXyiaEf5s2XP3Rx97mxYKvqY+m26SNxMskN0gvo41JL | |
cEu9W/N/09GtwRLP/iUJeMFmeuQGBNUPUYBrKnD+pwJo8q6JXePIekhWS2TVlMDruG | |
EkZBEWSFosEBIgiU7udFNBwG3QdvYG4OIBpNwggU= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 0CAA7385EC15 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 0CAA7385EC15 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727850852; cv=none; |
b=hd7NQreNKiV0PEWGlKGIKMMscVljwc7agkuFFXZN+tGh1uL5x64OOYUBpXOZsvm3/CXVIHCQ7Z5xHyJepO708iSet3BS0b3Dow2nypPa6QPcls/uD27jG/b3deBWwDOuGpGQP4LEQm6yWb4rlmro4vGnIu/2ll5JKqH1YdkhJOs= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1727850852; c=relaxed/simple; | |
bh=m17VUjWUAV1LgL6mhFIne1Jq9H1lyi4cPnA6zaeKI/8=; | |
h=Message-ID:Date:MIME-Version:From:Subject:To; | |
b=NBHA9dm11r4/DZzcw+CmzAkgqK0dNZu6JSufcNg9v2K6JwEpVMICd7PGHkMzi3XOS5rF+XsGqqYJYDBoJKXfmV6TqgSwwsjnG7LVUh7zHlIdsr1+H79OiMAJd/0tG1cyhpZ7ukYH7Nd2vdc7VRBNjayqdMEgsWnaTbj5j0flNoo= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
Message-ID: | <7929384b-83cb-451e-99d3-9300b507c0cc@maxrnd.com> |
Date: | Tue, 1 Oct 2024 23:34:08 -0700 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla Thunderbird |
Subject: | Request for test by users seeing 0.00 load average in spite of a busy |
system | |
To: | cygwin AT cygwin DOT com |
X-Spam-Status: | No, score=-2.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Mark Geisert via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Mark Geisert <mark AT maxrnd DOT com> |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
This is a multi-part message in MIME format. --------------xBBTqMY0U1b7ktEsGMZ3mogP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi folks, I may have a handle on why you're seeing 0.00 load averages. Would you kindly compile the attached program, run it, and post its results along with which version of Windows you are running? For example, gcc -Wall -ggdb -o test test.c -lpdh ./test Thanks for your help, ..mark --------------xBBTqMY0U1b7ktEsGMZ3mogP Content-Type: text/plain; charset=UTF-8; name="test.c" Content-Disposition: attachment; filename="test.c" Content-Transfer-Encoding: base64 Ly8JdGVzdC5jCi8vCVNlZSBpZiBQREggY291bnRlcnMgbmVlZGVkIGZvciBDeWd3aW4gbG9h ZCBhdmVyYWdlcyBhcmUgcHJlc2VudAovLwkyMDI0LzEwLzAxIE1hcmsgR2Vpc2VydCA8bWFy a0BtYXhybmQuY29tPgovLwojaW5jbHVkZSA8c3RkaW8uaD4KCiNkZWZpbmUgX1dJTjMyX1dJ Tk5UIDB4MDYwMAojaW5jbHVkZSA8cGRoLmg+CgpQREhfSFFVRVJZIHF1ZXJ5OwpQREhfSENP VU5URVIgY291bnRlcjE7ClBESF9IQ09VTlRFUiBjb3VudGVyMjsKUERIX0hDT1VOVEVSIGNv dW50ZXIzOwojZGVmaW5lIGMxbmFtZSBMIlxcUHJvY2Vzc29yKF9Ub3RhbClcXCUgUHJvY2Vz c29yIFRpbWUiCiNkZWZpbmUgYzJuYW1lIEwiXFxQcm9jZXNzb3IgSW5mb3JtYXRpb24oX1Rv dGFsKVxcJSBQcm9jZXNzb3IgVGltZSIKI2RlZmluZSBjM25hbWUgTCJcXFN5c3RlbVxcUHJv Y2Vzc29yIFF1ZXVlIExlbmd0aCIKCmNoYXIgKgpwZGhfc3RhdHVzIChQREhfU1RBVFVTIGVy cikKewogIHN0YXRpYyBGSUxFICpmID0gTlVMTDsKICBzdGF0aWMgY2hhciAgYnVmWzEzMl07 CiAgc3RhdGljIGNoYXIgIGhleGNvZGVbMzJdOwogICAgICAgICBjaGFyICBsaW5lWzEzMl07 CiAgICAgICAgIGNoYXIgIHByZWZpeFs4MF07CiAgICAgICAgIGNoYXIgIG1pZGRsZVs4MF07 CiAgc3RhdGljIGNoYXIgIHN1ZmZpeFs4MF07CgogI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N0YXR1cyAocmV0KSk7 CiAgcmV0ID0gUGRoQWRkRW5nbGlzaENvdW50ZXJXIChxdWVyeSwgYzFuYW1lLCAwLCAmY291 bnRlcjEpOwogIGZwcmludGYgKHN0ZGVyciwgIlBkaEFkZEVuZ2xpc2hDb3VudGVyVyMxICVz XG4iLCBwZGhfc3RhdHVzIChyZXQpKTsKICByZXQgPSBQZGhBZGRFbmdsaXNoQ291bnRlclcg KHF1ZXJ5LCBjMm5hbWUsIDAsICZjb3VudGVyMik7CiAgZnByaW50ZiAoc3RkZXJyLCAiUGRo QWRkRW5nbGlzaENvdW50ZXJXIzIgJXNcbiIsIHBkaF9zdGF0dXMgKHJldCkpOwogIHJldCA9 IFBkaEFkZEVuZ2xpc2hDb3VudGVyVyAocXVlcnksIGMzbmFtZSwgMCwgJmNvdW50ZXIzKTsK ICBmcHJpbnRmIChzdGRlcnIsICJQZGhBZGRFbmdsaXNoQ291bnRlclcjMyAlc1xuIiwgcGRo X3N0YXR1cyAocmV0KSk7Cn0KCmludAptYWluIChpbnQgYXJnYywgY2hhciAqKmFyZ3YpCnsK ICBsb2FkX2luaXQgKCk7CiAgcmV0dXJuIDA7Cn0K --------------xBBTqMY0U1b7ktEsGMZ3mogP Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple --------------xBBTqMY0U1b7ktEsGMZ3mogP--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |