diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-28 05:41:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-28 05:41:44 +0000 |
commit | 75a57bf04a04e7cacbfc1279aa6c35f3f16775d1 (patch) | |
tree | 550c48ebd0fbf7ff9990077c95c882242dd88b78 /winsup/cygwin/profil.c | |
parent | ce475802f8aa48518553eabd5887bcc439b61a0d (diff) | |
download | newlib-75a57bf04a04e7cacbfc1279aa6c35f3f16775d1.zip newlib-75a57bf04a04e7cacbfc1279aa6c35f3f16775d1.tar.gz newlib-75a57bf04a04e7cacbfc1279aa6c35f3f16775d1.tar.bz2 |
Whitespace cleanup.
* configure.in: Eliminate subdir stuff.
* configure: Regenerate.
* include/getopt.h (option): Make name field 'const'.
Diffstat (limited to 'winsup/cygwin/profil.c')
-rw-r--r-- | winsup/cygwin/profil.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/profil.c b/winsup/cygwin/profil.c index 956519b..0cac701 100644 --- a/winsup/cygwin/profil.c +++ b/winsup/cygwin/profil.c @@ -53,7 +53,7 @@ print_prof (struct profinfo *p) } #endif -/* Everytime we wake up use the main thread pc to hash into the cell in the +/* Everytime we wake up use the main thread pc to hash into the cell in the profile buffer ARG. */ static DWORD CALLBACK @@ -125,7 +125,7 @@ profile_on (struct profinfo *p) * * profiling goes into the SAMPLES buffer of size SIZE (which is treated * as an array of u_shorts of size size/2) - * + * * each bin represents a range of pc addresses from OFFSET. The number * of pc addresses in a bin depends on SCALE. (A scale of 65536 maps * each bin to two addresses, A scale of 32768 maps each bin to 4 addresses, @@ -160,9 +160,9 @@ profile_ctl (struct profinfo * p, char *samples, size_t size, return 0; } -/* Equivalent to unix profil() - Every SLEEPTIME interval, the user's program counter (PC) is examined: - offset is subtracted and the result is multiplied by scale. +/* Equivalent to unix profil() + Every SLEEPTIME interval, the user's program counter (PC) is examined: + offset is subtracted and the result is multiplied by scale. The word pointed to by this address is incremented. Buf is unused. */ int |