* profil.h (PROFADDR): Prevent overflow when text segments are larger than

256k.
* profil.c (profthr_func): Raise thread priority for more accurate sampling.
* path.cc (hash_path_name): Use ino_t as type.
This commit is contained in:
Christopher Faylor
2003-04-28 20:10:54 +00:00
parent eae4b2b0bc
commit 6ef342e460
5 changed files with 15 additions and 6 deletions

View File

@@ -62,6 +62,8 @@ profthr_func (LPVOID arg)
struct profinfo *p = (struct profinfo *) arg;
u_long pc, idx;
SetThreadPriority(p->profthr, THREAD_PRIORITY_TIME_CRITICAL);
for (;;)
{
pc = (u_long) get_thrpc (p->targthr);